- update to current intermediate mozilla recommendation master
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 22 Oct 2019 12:52:03 +0000 (14:52 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 22 Oct 2019 12:52:03 +0000 (14:52 +0200)
ssl.conf

index e9c1a2108ed7accfda7d42304a6e812035df4ac3..15bfb6aeec0daebc1109be5909cda6ee9a7b6ab5 100644 (file)
--- a/ssl.conf
+++ b/ssl.conf
@@ -33,21 +33,20 @@ $SERVER["socket"] == ":443" {
 #              "HTTPS" => "on"
 #      )
 
+       # https://ssl-config.mozilla.org/#server=lighttpd&server-version=1.4.54&config=intermediate
        # intermediate configuration, tweak to your needs
+       #
        ssl.use-sslv2 = "disable"
        ssl.use-sslv3 = "disable"
-       ssl.honor-cipher-order = "enable"
-       # If you know you have RSA keys (standard), you can use:
-       #ssl.cipher-list = "aRSA+HIGH !3DES +kEDH +kRSA !kSRP !kPSK"
-       # The more generic version (without the restriction to RSA keys) is
-       #ssl.cipher-list = "HIGH !aNULL !3DES +kEDH +kRSA !kSRP !kPSK"
-       # List from https://mozilla.github.io/server-side-tls/ssl-config-generator/
-       ssl.cipher-list = "ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
+       # intermediate configuration, tweak to your needs
+       ssl.openssl.ssl-conf-cmd = ("Protocol" => "ALL, -SSLv2, -SSLv3, -TLSv1, -TLSv1.1")
+       ssl.cipher-list           = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
+       ssl.honor-cipher-order    = "disable"
 
-       # HSTS(15768000 seconds = 6 months)
-#      setenv.add-response-header = (
-#              "Strict-Transport-Security" => "max-age=15768000;"
-#      )
+       # HTTP Strict Transport Security (63072000 seconds
+       # setenv.add-response-header  = (
+       #       "Strict-Transport-Security" => "max-age=63072000"
+       # )
 
        $HTTP["useragent"] =~ "MSIE" {
                server.max-keep-alive-requests = 0
This page took 0.049207 seconds and 4 git commands to generate.