How To:
How to add a certificate to Cavirin Platform
Directions:
Note: Replace ACME with a company name.
- Login to Cavirin SSH Console
- "sudo su -"
- “cd /etc/nginx/snippets/”
- Copy the following file – "cp self-signed.conf ACME.conf"
- edit the file: "vi ACME.conf"
- ssl_certificate <absolute_path_of_certs_directory>/<certificate_name>.crt;
- ssl_certificate_key <absolute_path_of_certs_directory>/<certificate_name>.key;
- save the file: ":wq"
- edit the file: "vi /etc/nginx/sites-available/pulsar_ssl"
- In the server stanza replace: "include snippets/self-signed.conf;" with "include snippets/ACME.conf;"
- edit the file: "vi /etc/nginx/sites-enabled/pulsar_ssl:"
- In the server stanza replace: "include snippets/self-signed.conf;" with "include snippets/ACME.conf;"
- Run the command “sudo service nginx restart”