How to update LetsEncrypt renewal domain on ubuntu 18?

Posted April 8, 2019 4k views
ApacheLet's EncryptUbuntu 18.04

The current LetsEncrypy SSL on our domain is correct, but for some reason the logs show an error that when it tries to renew its still trying to renew on an older domain we used to have.

Is there a way to update the ssl renewal domain for Lets Encrypt so that it renews only the current domain and not the older domain ever again.?

When I go to etc/letsencrypt/renewal I see two .conf files. One for the old and one for the new domain.

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.

Submit an Answer
3 answers


Great question. Try removing the old domain conf file, or rather just moving it out of the way like this:

mv /etc/letsencrypt/renewal/olddomain.tld.conf /root

Now that should exclude your old domain from certbot renewal attempts. As far as the other error though, it may be important to dive into the details of that specifically, as that could be any number of things.


Thank you. So just removing the olddomain.conf should do the trick?

The error is related to lets encrypt attempting to renew the old domain.