Before you start make sure you have your SSL certificate.
- SSH into your node server. To create you own local Appshare node refer to this document.
- Copy your certificate into the /data/appshare/ directory
- Navigate to this directory:
cd /data/appshare/
- Run the following command:
mv off.nginx.conf nginx.conf
Now link your certificate and nginx.conf. There are two ways to do that, depending on the format of your certificate.
My certificates are in .pem format | My certificates are in a different format |
Simply rename your certificate file to cert.pem and key file to key.pem. | Open your nginx.conf file and ensure to edit the following lines to point to your certificate files: ssl_certificate /data/appshare/yourCertificateName; ssl_certificate_key /data/appshare/yourKeyName; |
All new nodes will run on SSL. You will have to delete existing nodes and recreate them to enable those for SSL.