«

»

Oct 20

Solved no “ssl_certificate” is defined in server listening on SSL port while SSL handshaking, client

Problem :- If you are facing similar error while configuring ssl on nginx server. below solution would be useful to solve it.

no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:443

Solution:-

you should need to add following to nginx server block
listen 443 default_server ssl;

example:-
server {
#Some configuration
listen 443 default_server ssl;
#Some configuration
}

3 comments

  1. Dimitrios

    Dear friend,
    You must delete the “listen 443 default_server ssl” from all your hosts and enter only “listen 443 ssl”;
    You dont nead the default_server.

    1. admin

      Thanks for your solution !

    2. Samuel K Neal-Blim

      This helped me as well friend, thanks a million!

Leave Your Thought Here