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
Dimitrios
December 21, 2015 at 9:53 pm (UTC 5.5) Link to this comment
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.
admin
December 23, 2015 at 6:47 am (UTC 5.5) Link to this comment
Thanks for your solution !
Samuel K Neal-Blim
September 13, 2019 at 1:01 am (UTC 5.5) Link to this comment
This helped me as well friend, thanks a million!