Option to disable TLS session tickets
It would be nice if there were a way to prevent Lighttpd from using TLS session tickets.
OpenSSL provides SSL_CTX_set_options(SSL_OP_NO_TICKET), but Lighttpd does not provide any way to set this option in its configuration file. Lighttpd does not appear to register any special ticket handling functionality with OpenSSL either, which means OpenSSL’s default ticket handling will be used which, as I understand it, means a random ticket encryption key will be generated on server startup and never changed. It would be absolutely ideal if Lighttpd were able to rotate ticket keys, but in the absence of such a large change, disabling tickets is a reasonable workaround (this doesn’t affect session IDs, which will still work, only session tickets).
Updated by gstrauss about 6 years ago
See https://github.com/gstrauss/lighttpd1.4/commit/c09acbeb8a030942d9825b3d0dd01c84e0a0b919 for experimental ssl.openssl.ssl-conf-cmd directive
Updated by gstrauss over 3 years ago
- ASK QUESTIONS IN Forums set to No
For the record (and search engines which may find this), you can disable session tickets in lighttpd since lighttpd 1.4.48 using:
ssl.openssl.ssl-conf-cmd = ("Options" => "-SessionTicket")
BTW, restarting the lighttpd daemon has always had the side effect of rotating session ticket encryption keys in openssl.
Future looking: there is work being done to automatically rotate the session ticket encryption keys and that work might make it into lighttpd 1.4.56.
Also available in: Atom