Step 1: after received email with the certificate
information has been issued, you will have a zip file. Extract it, you will
have files:
Chain_RootCA_Bundle.crt,
ChainCA1.crt, ChainCA2.crt, RootCA.crt example_cert.pem
Step 2: upload them to server. Run below command to
make certificates in one bundle file.
$ cat example_cert.pem
Chain_RootCA_Bundle.crt > example.crt
*
Notes: sometime maybe have error with end of file content or line
formating, you should be open example.crt to check again.
Step 3: create private key file. Copy private key
content from email of SSL distributor, it begins with “-----BEGIN RSA PRIVATE
KEY-----” and end with “-----END RSA PRIVATE KEY-----”. Save it to file example.key
Step 4: edit NGINX configuration file (by default it
is file nginx.conf)
ssl_certificate
/root/ssl/example.crt;
ssl_certificate_key
/root/ssl/example.key;
Step 5: restart NGINX