Will man lighttpd unter V4 und V6 laufen lassen, so verwendet man am besten diese Konfiguration:

/etc/lighttpd/conf-enabled/10-ssl.conf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$SERVER["socket"] == "[ipv6 Adresse]:443" {
                  ssl.engine                  = "enable"
                  ssl.pemfile                 = "/etc/lighttpd/server.pem"
}
$SERVER["socket"] == "ipv4 Adresse:443" {
                  ssl.engine                  = "enable"
                  ssl.pemfile                 = "/etc/lighttpd/server.pem"
}
$SERVER["socket"] == "localhost:443" {
                  ssl.engine                  = "enable"
                  ssl.pemfile                 = "/etc/lighttpd/server.pem"
}