]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-ssl.conf
sample more debug variables
[packages/lighttpd.git] / lighttpd-ssl.conf
1 # lighttpd support for SSLv2 and SSLv3
2 #
3 # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
4
5 # (Following SSL/TLS Deployment Best Practices 1.3 / 17 September 2013 from:
6 # https://www.ssllabs.com/projects/best-practices/index.html)
7 # - BEAST is considered mitigaed on client side now, and new weaknesses have been found in RC4,
8 #   so it is strongly advised to disable RC4 ciphers (HIGH doesn't include RC4)
9 # - It is recommended to disable 3DES too (although disabling RC4 and 3DES breaks IE6+8 on Windows XP,
10 #   so you might want to support 3DES for now - just remove the '!3DES' parts below).
11 # - The examples below prefer ciphersuites with "Forward Secrecy" (and ECDHE over DHE (alias EDH)), remove '+kEDH +kRSA'
12 #   if you don't want that.
13 # - SRP and PSK are not supported anyway, excluding those ('!kSRP !kPSK') just keeps the list smaller (easier to review)
14 # Check your cipher list with: openssl ciphers -v '...' (use single quotes as your shell won't like ! in double quotes)
15 #
16 # If you know you have RSA keys (standard), you can use:
17 #ssl.cipher-list             = "aRSA+HIGH !3DES +kEDH +kRSA !kSRP !kPSK"
18 # The more generic version (without the restriction to RSA keys) is
19 #ssl.cipher-list           = "HIGH !aNULL !3DES +kEDH +kRSA !kSRP !kPSK"
20
21 # Make the server prefer the order of the server side cipher suite instead of the client suite.
22 # This option is enabled by default, but only used if ssl.cipher-list is set.
23 #
24 #ssl.honor-cipher-order = "enable"
25 #
26
27 $SERVER["socket"] == ":443" {
28         ssl.engine = "enable"
29
30         ## If you have a .crt and a .key file, cat them together into a
31         ## single PEM file:
32         ## $ cat lighttpd.key lighttpd.crt > lighttpd.pem
33         ssl.pemfile = "/etc/lighttpd/server.pem"
34
35 #       ssl.ca-file = "/etc/certs/ca-certificates.crt"
36
37         $HTTP["useragent"] =~ "MSIE" {
38                 server.max-keep-alive-requests = 0
39         }
40 }
This page took 0.052004 seconds and 3 git commands to generate.