diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-10-01 12:41:08 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-10-01 12:41:08 +0000 |
| commit | 85c920a0cd4983679fe51ad492abf5dea8ccc497 (patch) | |
| tree | a8dea075ef1040da844ef777e184f9e22176d997 /src/http/modules/ngx_http_ssl_module.h | |
| parent | 3648ba7db833d318269daba2a8d6be42660c5b60 (diff) | |
| download | nginx-85c920a0cd4983679fe51ad492abf5dea8ccc497.tar.gz nginx-85c920a0cd4983679fe51ad492abf5dea8ccc497.tar.bz2 | |
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
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.h')
| -rw-r--r-- | src/http/modules/ngx_http_ssl_module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.h b/src/http/modules/ngx_http_ssl_module.h index 1fb891b17..c1328395a 100644 --- a/src/http/modules/ngx_http_ssl_module.h +++ b/src/http/modules/ngx_http_ssl_module.h @@ -42,6 +42,9 @@ typedef struct { ngx_shm_zone_t *shm_zone; + ngx_flag_t stapling; + ngx_str_t stapling_file; + u_char *file; ngx_uint_t line; } ngx_http_ssl_srv_conf_t; |
