I have already set up certificates using the --standalone flag which is working great but the problem is I have to stop Nginx server every time I have to renew the certificates because the --standalone option requires port 80 to be free.
The --webroot method does not require stopping the server and essentially taking down all the sites on the server.
So is it possible to renew certificates using --webroot which were installed using the --standalone flag?
I ended up also asking the same question on Letsencrypt forums where I got an answer.
Basically, when you have created certificate with --standalone
plugin, just regenerate it with --webroot
and then it can be updated with --webroot
from next time onwards.
sudo ./letsencrypt-auto certonly -a webroot --renew-by-default -w <your-site-directory> -d <your-site>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With