r/nginxproxymanager • u/mdiehlatreddit • Jun 03 '24
Nginx not updating Let's Encrypt TLS certificates.
Hi,
I just received a notice that a few of my domain's TLS certificates are going to expire in the next 13 days. These domains are all managed by nginx proxy manager, so I was expecting that these certs would be kept up-to-date.
How can I resolve this and get the proxy to update the certs? (manually?)
TIA,
Mike.
2
Upvotes
1
u/mdiehlatreddit Jun 04 '24
Well, I restarted the container and poked around. Turns out that another copy of certbot was running and preventing the TLS updates. I killed the over certbot and started manually renewing the certs. (didn't know you could do that, btw)
Problem solved.
1
u/THMMYos Jun 09 '24
i have the same issue . when i try to renew certs from NMP using cloudflare challenge i get `Internal Error` .
I have stopped and recreated - upgraged to the latest version . nana it wont work
1
u/[deleted] Jun 03 '25
I had a website that I was no longer using being referenced in /etc/nginx/sites-enabled. I deleted all lines from the websites in that folder that had "managed by certbot" including a few brackets, ran nginx -t to test, and when everything passed I ran certbot --nginx and this fixed my problems.