Add option to force reprovisioning of TLS certificates
Use cases
- I am running a local server and my IP address has changed due to DHCP, etc., and I need the TLS certificate to support it.
- I want to test certificate provisioning for a remote server.
Note: for the second use case, Site.js should display a prominent warning and ask for confirmation before proceeding as this could result in the hitting of Let’s Encrypt rate limits.
It might be worth splitting this issue into two: one to cover the first use case (higher priority) and one to cover the second (lower priority)
Suggested implementation
Add a --renew-certificate
flag.