comparison src/mail/ngx_mail_ssl_module.h @ 5425:1356a3b96924

SSL: added ability to set keys used for Session Tickets (RFC5077). In order to support key rollover, ssl_session_ticket_key can be defined multiple times. The first key will be used to issue and resume Session Tickets, while the rest will be used only to resume them. ssl_session_ticket_key session_tickets/current.key; ssl_session_ticket_key session_tickets/prev-1h.key; ssl_session_ticket_key session_tickets/prev-2h.key; Please note that nginx supports Session Tickets even without explicit configuration of the keys and this feature should be only used in setups where SSL traffic is distributed across multiple nginx servers. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
author Piotr Sikora <piotr@cloudflare.com>
date Fri, 11 Oct 2013 16:05:24 -0700
parents d620f497c50f
children d049b0ea00a3
comparison
equal deleted inserted replaced
5424:767aa37f12de 5425:1356a3b96924
39 39
40 ngx_str_t ciphers; 40 ngx_str_t ciphers;
41 41
42 ngx_shm_zone_t *shm_zone; 42 ngx_shm_zone_t *shm_zone;
43 43
44 ngx_array_t *session_ticket_keys;
45
44 u_char *file; 46 u_char *file;
45 ngx_uint_t line; 47 ngx_uint_t line;
46 } ngx_mail_ssl_conf_t; 48 } ngx_mail_ssl_conf_t;
47 49
48 50