Corrupt renewal domain-0001

I was try to renew the certificate “certbot renew”’ & get error - “No valid IP addresses found for domain”.
After push --force-renewal got extra folder under etc/letsencrypt/…/domain-0001, after close check of DNS realize that I accidentally delete cname record so after restore missing line - renew was successful.
So my question is it safe to remove this folders under live, archive & renewal? or there are some step by step thinks that I must take in to account.

My server:
Digital Ocean, Ubuntu 18.04, Ngnix

1 Like

Hard to say with just this information. Did you use the nginx plugin to install the certificates? Or did you manually install the certificate in your nginx configuration?

Because if you’d remove the certificate used by nginx, you would end up with an unusable nginx until you’d correct the error manually.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.