Self signed certs with nginx

Wayne E. Seguin wayneeseguin at
Fri Mar 2 17:55:27 MSK 2007

I used the following command to generate a self signed cert:

openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout  
domainname.tld.key -out

I then restarted nginx and tried to access the page via https and  
received an "ErrorCode: 12263" in firefox which translates to  

I have used this method fine in apache 2.2 before.
What is the proper procedure for creating a self signed cert for nginx?


More information about the nginx mailing list