nsg-ethz / autopower

A software suite to conveniently collect, gather, and display power measurement from networking hardware.
MIT License
2 stars 1 forks source link

Test and document letsencrypt renewals #14

Open UsualSpec opened 3 months ago

UsualSpec commented 3 months ago

Currently, we did not test what happens if the Lets encrypt certificate gets renewed automatically. In future, we may need to add a pre and post hook in for certbot to restart mmserver: https://eff-certbot.readthedocs.io/en/stable/using.html#renewing-certificates

Quoting @romain-jacob (private):

It could be that the connection between clients and server gets interrupted after the server renews its certificate. To mitigate that, we should add some pre and post hooks to the cert renewal to stop and restart mmserver