SSL doesn’t work and error log shows
no “ssl_certificate” is defined in server listening on SSL port while
SSL
handshaking, client: x.x.x.x, server: 0.0.0.0:443
What’s wrong? Of course, the file exists, I restarted the server. I
tried
everything I could think of (absolute path, I added ssl_verify_depth,
verified that in the crt file the END/BEGIN blocks are on separate
lines)
On Tue, Oct 15, 2013 at 09:13:52AM -0400, gaspy wrote:
listen 80;
ssl_session_timeout 10m;
verified that in the crt file the END/BEGIN blocks are on separate lines)
The message suggests you have another server{} listening on the
same port, without ssl_certificate defined, and it’s selected
based on SNI.
If the problem persists, it means that you either didn’t reloaded
the configuration or there is one more server{} block. Just for
testing you may want to configure ssl_certificate at http{} level.
If the problem persists, it means that you either didn’t reloaded
the configuration or there is one more server{} block. Just for
testing you may want to configure ssl_certificate at http{} level.
Maxim, it works now. I re-enabled SSL on this redirection server block
and
added the certificates to it. Reloaded and all is fine.
It’s strange because previously that server was listening only to port
80
(see that the 443 part was commented).
Anyway, all is well now, thanks.
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.