How to setup godaddy SSL certificate on Nginx
by dorren, 09/10/2007
1. Generate SSL requestFirst create key, replace "mysite.com" with your site domain name.
then the request,
that command will prompt a few questions, like below
the Common Name is the most important field, that should be the exact domain name for which you are requesting SSL, in most cases, it should be "www.mysite.com". If you are buying for a subdomain, then it should be something like "secured.mysite.com". If for wildcard, it should be "*.mysite.com".
After you finish, you should have 2 files now, www.mysite.com.key and www.mysite.com.csr.
2. Buy the SSL on GodaddyNow goto godaddy's site, and buy the ssl. If it's for a new website, I highly recommend to buy just one year version first. Their cheapest one is just $19.99/year. The reason is you never know if the new site is going to work out or not, or you may need to create secured subdomains a few months later. Because of all these uncertainties, it's better just to pay a tad more for one year only.
The process of buying SSL is quite involved:
3. Install SSL on NginxGodaddy email you the zip file contains 2 files: www.mysite.com.crt and gd_bundle.crt. You need to combine both files into one file, with your domain ssl file on top. so unzip the zip file and combine them.
If you don't combine them, browser will not be able to verify certificate authority (CA), and popup dialog or warning messages, which will certainly scare your site visitors away.
Now copy both combined crt and www.mysite.com.key files to your ssl folder on the server, and edit your nginx.conf
then reload the processes to make the change take effect.