]> git.kaiwu.me - nginx.git/commit
OCSP stapling: ssl_stapling_verify directive.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 1 Oct 2012 12:53:11 +0000 (12:53 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 1 Oct 2012 12:53:11 +0000 (12:53 +0000)
commitbec2cc5286e5888eb1de9462f7c64b922967b47b
treef51608be0c1ae2306ec75a99190398b47b360807
parent3ebbb7d521e9faeebdfdbba0a98a7a029e56c0a2
OCSP stapling: ssl_stapling_verify directive.

OCSP response verification is now switched off by default to simplify
configuration, and the ssl_stapling_verify allows to switch it on.

Note that for stapling OCSP response verification isn't something required
as it will be done by a client anyway.  But doing verification on a server
allows to mitigate some attack vectors, most notably stop an attacker from
presenting some specially crafted data to all site clients.
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_stapling.c
src/http/modules/ngx_http_ssl_module.c
src/http/modules/ngx_http_ssl_module.h