Created
February 24, 2012 01:38
-
-
Save drewlesueur/1896594 to your computer and use it in GitHub Desktop.
ssl stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#first generate a key for your domain | |
openssl genrsa -out yourdomain.com.key 2048 | |
#then generate the request | |
openssl req -new -key yourdomain.com.key -out yourdomain.com.csr | |
#http://mikegrouchy.com/blog/setting-up-nginx-with-ssl-and-godaddy.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When it asks
YOUR name
enter your domain nameThen go to name cheap or someting, buy an ssl certificate (kind of complicated, emails go back and forth). then give them the csr file. then they email you the certificate that you configure with nginx. I didn't have to do anything with my node server. Using the nginx proxy was good enough I guess
http://wiki.nginx.org/HttpSslModule#Generate_Certificates
http://expressjs.com/guide.html#creating-an https server
sudo /etc/init.d/nginx restart