I installed letsencrypt cetificate but which steps do I need to take to renew it when it expires?

I followed this fantastic tutorial and got my domain running under https succesfully.

But when the certificate expires in may, what do i need to do?

Do I just need to run the following command to renew it and all the configuration i did already is still valid:

sudo letsencrypt certonly -a webroot --webroot-path=/var/www/html -d -d

Or do I need to go through the rest of the steps?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


As mentioned by @kirinlin – inside the guide above, using sudo letsencrypt renew would be the way to go when it come to renewing all certificates, whether you have one or multiple.