Adding new SSL certificates - OtagoPolytechnic/Air-Quality-Monitoring-System GitHub Wiki

Adding new SSL certificates to the CO2 website

Adding the bit-op.co.nz SSL Certificate

To add theses certificates to the the VM you will need to connect to the VM at 4.147.153.50.

Then you will need to copy the .crt and .key onto the VM (use WinSCP) image

Then you will need to add it to both the production and testing nginx files image image

Adding the Let's Encrypt Certificate

At the moment to update the Let's Encrypt you will need to do this manually by using the command

sudo certbot certonly --standalone -d co2-app.bit-op.nz -d co2-app.testing.bit-op.nz

This is currently being done automatically.

⚠️ **GitHub.com Fallback** ⚠️