]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_ssl.conf
Add EnableSendfile on. Prevent web clients from accessing htaccess files and backup...
[packages/apache.git] / apache-mod_ssl.conf
index 949bbb07f78f27c2c07899fbd07e4b8f011cfbc3..db23f211a7f3e4cbb9a6f294c57c41d2b057ee38 100644 (file)
@@ -58,14 +58,7 @@ SSLPassPhraseDialog  builtin
 SSLSessionCache                shmcb:/var/cache/httpd/ssl_scache(512000)
 SSLSessionCacheTimeout  300
 
-##
-## SSL Virtual Host Context
-##
-
-<VirtualHost _default_:443>
-#   SSL Engine Switch:
-#   Enable/Disable SSL for this virtual host.
-SSLEngine on
+# FOLLOW SECURE DEFAULTS: https://wiki.mozilla.org/Security/Server_Side_TLS
 
 #   Usable SSL protocol flavors:
 #   This directive can be used to control the SSL protocol flavors mod_ssl
@@ -76,7 +69,33 @@ SSLProtocol all -SSLv2
 #   SSL Cipher Suite:
 #   List the ciphers that the client is permitted to negotiate.
 #   See the mod_ssl documentation for a complete list.
-SSLCipherSuite ALL:!ADH:!EXP:!LOW:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
+SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:
+DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:E
+CDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE
+-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:AES128:AES256:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT
+:!DES:!3DES:!MD5:!PSK
+
+SSLHonorCipherOrder on
+
+SSLCompression off
+
+# OCSP Stapling
+SSLUseStapling          on
+SSLStaplingResponderTimeout 5
+SSLStaplingReturnResponderErrors off
+SSLStaplingCache        shmcb:/var/cache/httpd/ocsp(128000)
+
+# Whether to allow non-SNI clients to access a name-based virtual host.
+#SSLStrictSNIVHostCheck on
+
+##
+## SSL Virtual Host Context
+##
+
+<VirtualHost _default_:443>
+#   SSL Engine Switch:
+#   Enable/Disable SSL for this virtual host.
+SSLEngine on
 
 #   Server Certificate:
 #   Point SSLCertificateFile at a PEM encoded certificate.  If
This page took 0.026723 seconds and 4 git commands to generate.