"lighttpd.conf" is not the whole lighttpd configuration. Print the config with: lighttpd -f /etc/lighttpd/lighttpd.conf -p
Your probable error is well-documented as user misconfiguration: $SERVER["socket"] must not be nested in other lighttpd config conditions https://wiki.lighttpd.net/Docs_SSL#Configuration https://wiki.lighttpd.net/Docs_Configuration#Conditional-Configuration