Have you created those certs?
Weren't you using:
ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;
It seems you just removed the comments on the default config to see if it
would magically work, but the cert files don't exist, that just an example!
Please don't try everything until it works... the patch dewanggaba
<http://forum.nginx.org/profile.php?2,663> gave should do it, all you need
it to have the cert/key created (I'm assuming self signed certificates, if
you don't know how to do it just google it, first hits should give you
enough info)
Melhores Cumprimentos // Best Regards
-----------------------------------------------
*Miguel Clara*
*IT - Sys Admin & Developer*
*E-mail: *[email protected]
www.linkedin.com/in/miguelmclara/
On Sun, Aug 31, 2014 at 2:08 AM, nginxfanboy <[email protected]> wrote:
> /etc/nginx/sites-available/default
>
> http://paste.debian.net/118482/
>
> /etc/nginx/nginx.conf
>
> http://paste.debian.net/118483/
>
> I believe I'm near on my destination.
> My error Message is now
>
> Restarting nginx: nginx: [emerg]
> SSL_CTX_use_certificate_chain_file("/etc/nginx/example.com.csr") failed
> (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
> error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib)
> nginx: configuration file /etc/nginx/nginx.conf test failed
>
>
> by root@cseipel:/etc/nginx/sites-available# service nginx restart
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,252951,252964#msg-252964
>
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx