SSL Installation Guide for Nginx
If you have already received a your_domian_name.pem,please skip directly to Step 4. Otherwise begin with Step 1.
Step 1 – Download all the necessary certificate files (your Server Certificate and the Intermediates) via your user account or from the email provided by your CA. Your server certificate will have a file name matching your order number or domain name. The Intermediate Certificates may be named CABundle.crt.
Step 2 – Copy these certificates to your server's directory, where you intend to store your certificate and key files. Please include the .key file generated during CSR-generation. For increasing the security, you can make them readable by root-only.
Step 3 – If its required to combine your certificates to one file, you can usually do this on your server cia the "cat" command. Proceed by running the following command to concatenate the 'Primary' and 'Intermediate' certificate files into single pem file:
cat your_domain_name.crt DigiCertCA.crt >> bundle.crt
Step 4 – For the website you are securing, open your Nginx virtual host file.
If you want your website to be accessible via secure (https) and non - secure (http) you will need a server module for each type of connection.