Welcome! Log In Create A New Profile

Advanced

NGINX SSL Session Ticket Key

ZNV
February 25, 2014 11:26AM
Hi!

Recently nginx implemented support for ssl_session_ticket_key allowing
to setup key(s) for SSL tickets encryption explicitly. This is usefull when
multiple nginx servers must share the same set of keys in order for any
server to accept tickets issued by any other server.

The key file is an opaque 48 byte long blob. Internally this data is
partitioned
as follows (ngx_ssl_ticket_session_keys, ngx_event_openssl.c):

a key name (16 bytes)
encryption key (16 bytes)
hmac key (16 bytes)

Without nginx customization OpenSSL partitions the key data another
way (ssl3_ctx_ctrl in openssl):

a key name (16 bytes)
hmac key (16 bytes)
encryption key (16 bytes)

This creates a certain compatibility issue. Though I didn't verify it
presumably Apache's mod_ssl isn't going to understand nginx
SSL session tickets even though both servers are using OpenSSL.

I think it would be better if nginx didn't invent its own ticket key
format but use the format defined by OpenSSL instead.

Best Regards.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX SSL Session Ticket Key

ZNV February 25, 2014 11:26AM

Re: NGINX SSL Session Ticket Key

Maxim Dounin February 25, 2014 11:54AM

Re: NGINX SSL Session Ticket Key

Nick Zavaritsky February 25, 2014 01:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready