<div dir="ltr"><div>Have you created those certs?<br><br></div><div>Weren't you using:<br><pre> ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;<br><br></pre>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!<br><br>
</div><div>Please don't try everything until it works... the patch <a href="http://forum.nginx.org/profile.php?2,663">dewanggaba</a> 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)<br>
<br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span><font color="#888888">
<font size="1"><br>
<font face="Calibri Light">Melhores Cumprimentos // Best
Regards<br>
</font><font face="Calibri Light">-----------------------------------------------<br>
<b><font color="#000066">Miguel Clara</font></b><br>
</font><b><font color="#ff6600" face="Calibri Light">IT
- Sys Admin & Developer</font></b><font face="Calibri
Light"><br>
</font><b><font face="Calibri Light">E-mail: </font></b><font face="Calibri Light"><a href="mailto:miguelmclara@gmail.com" target="_blank">miguelmclara@gmail.com</a><br>
</font><font face="Calibri Light"><img src="cid:part2.08010009.06070405@gmail.com"> <a href="http://www.linkedin.com/in/miguelmclara/" target="_blank">www.linkedin.com/in/miguelmclara/</a></font></font></font></span></div>
</div>
<br><br><div class="gmail_quote">On Sun, Aug 31, 2014 at 2:08 AM, nginxfanboy <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/etc/nginx/sites-available/default<br>
<br>
<a href="http://paste.debian.net/118482/" target="_blank">http://paste.debian.net/118482/</a><br>
<br>
/etc/nginx/nginx.conf<br>
<br>
<a href="http://paste.debian.net/118483/" target="_blank">http://paste.debian.net/118483/</a><br>
<br>
I believe I'm near on my destination.<br>
My error Message is now<br>
<br>
Restarting nginx: nginx: [emerg]<br>
SSL_CTX_use_certificate_chain_file("/etc/nginx/example.com.csr") failed<br>
(SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line<br>
error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib)<br>
<div class="">nginx: configuration file /etc/nginx/nginx.conf test failed<br>
<br>
<br>
</div>by root@cseipel:/etc/nginx/sites-available# service nginx restart<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,252951,252964#msg-252964" target="_blank">http://forum.nginx.org/read.php?2,252951,252964#msg-252964</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>