Adding new SSL certificates - OtagoPolytechnic/Air-Quality-Monitoring-System GitHub Wiki
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)
Then you will need to add it to both the production and testing nginx files
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.