Open AndyYangUK opened 2 years ago
Also, I noticed that during the cleanup process, NPM has decided to keep the old certs:
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-10/fullchain3.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-10/privkey3.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-10/cert3.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-10/chain3.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-1/chain4.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-1/fullchain4.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-1/cert4.pem.
today at 10:24:40[cert_cleanup] Keeping /etc/letsencrypt/archive/npm-1/privkey4.pem.
I'm having the same issue here. Deleted some old Certs in the UI and they are gone, but its still trying to renew them. Its messing up the renewal of my actual certs since it stops working after a few failures.
How do I remove these certs from the DB?
Manually removing folders associated to the old certs from /config/letsencrypt/live/
and /config/letsencrypt/archive/
(inside the container) should fix the issue.
But I'm not sure why there were not automatically removed when you removed them from NPM...
Were your certificates expired when you removed them?
After removing all LetsEncrypt SSL Certs, had to clear "/config/letsencrypt/archive", "/config/letsencrypt/live" and "/config/letsencrypt/renewel" to get rid of the errors. Edit: Had lots that were shown expired in NPM but was renewed. Guess was due to having force ssl enable setting.
Hi, I'm having an issue where NPM, from what I can see in the logs, is trying to renew a whole bunch of certificates in the background even though those certs are no longer in use and don't even appear within the UI.
How do I remove them from the DB so it no longer attempts (and fails) to renew those old certs?
Snippet: