comparison src/http/modules/ngx_http_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 4a804fd04e6c
children a297b7ad6f94
comparison
equal deleted inserted replaced
5424:767aa37f12de 5425:1356a3b96924
40 40
41 ngx_str_t ciphers; 41 ngx_str_t ciphers;
42 42
43 ngx_shm_zone_t *shm_zone; 43 ngx_shm_zone_t *shm_zone;
44 44
45 ngx_array_t *session_ticket_keys;
46
45 ngx_flag_t stapling; 47 ngx_flag_t stapling;
46 ngx_flag_t stapling_verify; 48 ngx_flag_t stapling_verify;
47 ngx_str_t stapling_file; 49 ngx_str_t stapling_file;
48 ngx_str_t stapling_responder; 50 ngx_str_t stapling_responder;
49 51