SSL certificate not loaded

Maxim Dounin mdounin at mdounin.ru
Tue Oct 15 15:42:58 UTC 2013


Hello!

On Tue, Oct 15, 2013 at 11:14:42AM -0400, gaspy wrote:

> > The message suggests you have another server{} listening on the 
> > same port, without ssl_certificate defined, and it's selected 
> > based on SNI.
> 
> Hi Maxim and thanks for the quick reply.
> 
> I have another server block just for redirect, I disabled SSL on it but the
> problem persists.
> Here's how the other block looks like:
> 
> server
> {
>     listen          80;
> 	#listen 			443 ssl;
>     server_name     mydomain.com;
>     return          301 $scheme://www.mydomain.com$request_uri;
> }

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 Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list