Without this, the intermediate certificate would not be sent. This only
affected clients that support SNI, since the fallback SSL configuration
(used for non-SNI browsers) did have an explicit ca-file configuration.
$HTTP["host"] == "mail.stdin.nl" {
# Specify the certificate for this domain (uses SNI)
ssl.pemfile = "/etc/lighttpd/ssl/mail.stdin.nl.pem"
+ ssl.ca-file = "/etc/lighttpd/ssl/ca/startssl-all-ca.pem"
# Redirect HTTP to HTTPS
$HTTP["scheme"] == "http" {
url.redirect = ( "^(.*)" => "https://mail.stdin.nl$1" )