]> git.kaiwu.me - nginx.git/commit
SSL: detect "listen ... ssl" without certificates (ticket #178).
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 24 Apr 2018 12:29:01 +0000 (15:29 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 24 Apr 2018 12:29:01 +0000 (15:29 +0300)
commit76be1ea9de13c5e8bb0d9523c6a2ad4009a5d7cf
treeefc4b871b998e7e04d5ab4a11a7df9e89a3e1dde
parent5d3a854ebd4f59854ade798b94070ff1ee3eddcf
SSL: detect "listen ... ssl" without certificates (ticket #178).

In mail and stream modules, no certificate provided is a fatal condition,
much like with the "ssl" and "starttls" directives.

In http, "listen ... ssl" can be used in a non-default server without
certificates as long as there is a certificate in the default one, so
missing certificate is only fatal for default servers.
src/http/modules/ngx_http_ssl_module.c
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h
src/http/ngx_http_request.c
src/mail/ngx_mail_core_module.c
src/mail/ngx_mail_handler.c
src/mail/ngx_mail_ssl_module.c
src/mail/ngx_mail_ssl_module.h
src/stream/ngx_stream_core_module.c
src/stream/ngx_stream_ssl_module.c
src/stream/ngx_stream_ssl_module.h