By omarwng
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Greetings!
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.
Jarland
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.