summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_ssl_module.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-10-01 12:39:36 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-10-01 12:39:36 +0000
commit3648ba7db833d318269daba2a8d6be42660c5b60 (patch)
tree1228f80d5ae03396e0b25180fff6c2538e117d55 /src/http/modules/ngx_http_ssl_module.h
parent6a0f47e0797c8b797c806fab16ffc5bab40c0577 (diff)
downloadnginx-3648ba7db833d318269daba2a8d6be42660c5b60.tar.gz
nginx-3648ba7db833d318269daba2a8d6be42660c5b60.tar.bz2
OCSP stapling: ssl_trusted_certificate directive.
The directive allows to specify additional trusted Certificate Authority certificates to be used during certificate verification. In contrast to ssl_client_certificate DNs of these cerificates aren't sent to a client during handshake. Trusted certificates are loaded regardless of the fact whether client certificates verification is enabled as the same certificates will be used for OCSP stapling, during construction of an OCSP request and for verification of an OCSP response. The same applies to a CRL (which is now always loaded).
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.h')
-rw-r--r--src/http/modules/ngx_http_ssl_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.h b/src/http/modules/ngx_http_ssl_module.h
index 58659ab95..1fb891b17 100644
--- a/src/http/modules/ngx_http_ssl_module.h
+++ b/src/http/modules/ngx_http_ssl_module.h
@@ -35,6 +35,7 @@ typedef struct {
ngx_str_t dhparam;
ngx_str_t ecdh_curve;
ngx_str_t client_certificate;
+ ngx_str_t trusted_certificate;
ngx_str_t crl;
ngx_str_t ciphers;