mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #109] Certificate renewal not working #97
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fidelix on GitHub (Mar 25, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/109
This is on the docker log:
And yet some of my certificates have expired days ago.
Would be nice to have the option to manually renew as well for these cases...
@jc21 commented on GitHub (Mar 27, 2019):
Do you have logs from the last 2 days or so? the renewal timer should fire every 12 hours and there should be some information in the docker logs, starting with
Renewing SSL certs close to expiry...And yes I agree a manual renewal would be nice too
@albertquiroga commented on GitHub (Mar 27, 2019):
Experiencing a similar issue here... just to clarify when should the renewal timer trigger? By 'every 12 hours' you mean at 12:00 and 24:00 or 12 hours after startup?
@jc21 commented on GitHub (Mar 27, 2019):
12 hours after startup. If you wanted to manually do it once, try a command like this:
@zaywalker commented on GitHub (Apr 12, 2019):
I have same problem. but just UI shows wrong expired date, SSL is actually renewed and working. This means npm UI shows red expired SSL but when I'm browsing SSLed site and check certificates, they shows renewed date. I'm not sure it's only my cases...
@jc21 commented on GitHub (Apr 12, 2019):
Ok yep sounds like a small bug there then.
@jc21 commented on GitHub (May 9, 2019):
The UI for this should be fixed in 2.0.13, just released. However in saying that, things still might not work as it should for those who have deleted any LE certs from within this application. The deletion was previously only revoking the certificate, not also deleting it from disk, so the auto renewal process was returning a non-zero response as a failure despite being able to renew all the other valid certificates.
If you find that after 1 hour of using 2.0.13 that the certificates list expiry still doesn't match the actual certificate date in the browser bar, then do the following:
docker exec -ti nginx-proxy-manager_app_1 bashcertbot renewcerbot delete --cert-name npm-123certbot certificatescertbot renewagain until there are no errors, then wait up to an hour to see the new dates in the UI@fidelix commented on GitHub (Sep 23, 2019):
For those reading, don't follow the steps above. You will break your installation.
Nginx will fail to start as soon as you run the delete command in any certs and you will be forced to manually find and fix any references to it.
Unfortunately the solution I had to take was to delete the entries from the UI and add them again. It was a lot of work as I had about 50 domains with wildly different configurations.
To @jc21, this is still broken, even after 2.0.13, just so you know. My certificates have not renewed at all even after doing what I said above.
@nin9s commented on GitHub (Feb 15, 2021):
@fidelix I'm still experiencing this behavior. Did you ever find a solution?
@fidelix commented on GitHub (Feb 15, 2021):
@nin9s no. As I said I had to rebuild everything from scratch.
New versions seem to be behaving better, though, and I only encountered a similar issues once since I opened this issue.