X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=apache-mod_ssl.conf;h=cf09e1dd3c98b442bb088b152084d998121041a7;hp=2bd073b1d1e0c605b64536046eddc6ba684316c6;hb=68340a8134645ea798c282b21ccf8e3e15c2cf6d;hpb=fd6a979d6b76c6b1f675b81caeafcd444040498d diff --git a/apache-mod_ssl.conf b/apache-mod_ssl.conf index 2bd073b..cf09e1d 100644 --- a/apache-mod_ssl.conf +++ b/apache-mod_ssl.conf @@ -64,19 +64,37 @@ SSLSessionCacheTimeout 300 # This directive can be used to control the SSL protocol flavors mod_ssl # should use when establishing its server environment. Clients then can only # connect with one of the provided protocols. -SSLProtocol -all TLSv1.2 +SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 # SSL Cipher Suite: # List the ciphers that the client is permitted to negotiate. # See the mod_ssl documentation for a complete list. -SSLCipherSuite HIGH:!aNULL:!MD5:!3DES:!CAMELLIA128:!AES128 -SSLHonorCipherOrder on +# High security: no weak ciphers, at least 256 bit +# (except TLS_AES_128_GCM_SHA256 which is required by TLSv1.3) +#SSLCipherSuite HIGH:!aNULL:!AES128:!ARIA128:!CAMELLIA128:!RSA:!SHA:!SHA256:!SHA384 + +# If you don't care about TLSv1.3 requirements and don't want any 128 bit +# cipher you can disable TLS_AES_128_GCM_SHA256 by uncommenting line below +#SSLCipherSuite TLSv1.3 TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384 + +# Strong security: no weak ciphers, at least 128 bit +# Recommended setting if you are not paranoid +SSLCipherSuite HIGH:!aNULL:!RSA:!SHA:!SHA256:!SHA384 +# Medium security: includes some weak ciphers, at least 256 bit +# (except TLS_AES_128_GCM_SHA256 which is required by TLSv1.3) +#SSLCipherSuite HIGH:!aNULL:!AES128:!ARIA128:!CAMELLIA128:!RSA + +# Low security: includes some weak ciphers, at least 128 bit +#SSLCipherSuite HIGH:!aNULL:!RSA + +SSLHonorCipherOrder on SSLCompression off +SSLSessionTickets off # Use this command to generate 4096 DH parameters (it will take long time): -# openssl dhparam -out /etc//httpd/ssl/dhparams.pem 4096 +# openssl dhparam -out /etc/httpd/ssl/dhparams.pem 4096 # When finished, uncomment line below #SSLOpenSSLConfCmd DHParameters /etc/httpd/ssl/dhparams.pem