id summary reporter owner description type status priority milestone component version resolution keywords cc uname nginx_version 178 listen with ssl but missing ssl_certificate is not detected by nginx -t Gunnlaugur Þór Briem somebody "I just added the line: {{{ listen 443 ssl; }}} to one of my extra (non-production) vhosts, but forgot to add the `ssl_certificate` and `ssl_certificate_key`. That's my mistake. But `nginx -t` did not catch the mistake, and `nginx -s reload` ''did'' apply the changed configuration ... and our production site (which also has `listen 443 ssl;`) now failed all HTTPS requests with: {{{ 2012/06/15 17:21:35 [error] 18931#0: *2322994 no ""ssl_certificate"" is defined in server listening on SSL port while SSL handshaking, client: xxx.xxx.xx.xxx, server: 0.0.0.0:443 }}} Usually nginx ''does'' catch my config mistakes at parse time and thus prevents me from breaking things. I think it could and should have done so in this instance too." defect closed minor nginx-core 1.2.x fixed Linux stimpy.datamarket.net 2.6.26-2-amd64 #1 SMP Wed Sep 21 03:36:44 UTC 2011 x86_64 GNU/Linux "nginx version: nginx/1.2.1 built by gcc 4.3.2 (Debian 4.3.2-1.1) TLS SNI support enabled configure arguments: --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_ssl_module --with-http_stub_status_module"