Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssl_module.h @ 4873:dd74fd35ceb5
OCSP stapling: ssl_stapling_file support.
Very basic version without any OCSP responder query code, assuming valid
DER-encoded OCSP response is present in a ssl_stapling_file configured.
Such file might be produced with openssl like this:
openssl ocsp -issuer root.crt -cert domain.crt -respout domain.staple \
-url http://ocsp.example.com
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 01 Oct 2012 12:41:08 +0000 |
parents | 7c3cca603438 |
children | 386a06a22c40 |
comparison
equal
deleted
inserted
replaced
4872:7c3cca603438 | 4873:dd74fd35ceb5 |
---|---|
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_flag_t stapling; | |
46 ngx_str_t stapling_file; | |
47 | |
45 u_char *file; | 48 u_char *file; |
46 ngx_uint_t line; | 49 ngx_uint_t line; |
47 } ngx_http_ssl_srv_conf_t; | 50 } ngx_http_ssl_srv_conf_t; |
48 | 51 |
49 | 52 |