[GH-ISSUE #3191] Tries to renew already "deleted" certificates #2163

Open
opened 2026-02-26 07:34:17 +03:00 by kerem · 3 comments
Owner

Originally created by @Mainfrezzer on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3191

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

The container tries to renew two certificates which i deleted a while ago from the GUI but apparently didnt get gemoved at all. Those certs are no longer in use and NPM keeps logging the following errors.

Nginx Proxy Manager Version

v2.10.4

To Reproduce

Probably a bit hazy, since the certs were old. i cant remember on which version i created them with but what i ultimately did was
Steps to reproduce the behavior:

  1. Delete the Certs, that i no longer use, via the GUI
  2. Created new Certs
  3. Applied the new certs to the existing proxy rules
  4. See error (after a while i guess since it checks for the renewal window)

Expected behavior

Well, i would expect any entry related to the old certs to be banished into oblivion

Screenshots

npm1

(the manual renewal in the screenshot was before i noticed that it tries to renew the "no longer existing but apparently zombie certs". Wanted to check what was wrong with it but that worked fine)

deleting the affected npm-X.conf in letsencrypt/renewal did solve the "issue" but since the delete button certainly didnt delete anything apart from the certs appearing in the gui, it doesnt do its job xD

Originally created by @Mainfrezzer on GitHub (Sep 11, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3191 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** <!-- A clear and concise description of what the bug is. --> The container tries to renew two certificates which i deleted a while ago from the GUI but apparently didnt get gemoved at all. Those certs are no longer in use and NPM keeps logging the following errors. **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> v2.10.4 **To Reproduce** Probably a bit hazy, since the certs were old. i cant remember on which version i created them with but what i ultimately did was Steps to reproduce the behavior: 1. Delete the Certs, that i no longer use, via the GUI 2. Created new Certs 3. Applied the new certs to the existing proxy rules 4. See error (after a while i guess since it checks for the renewal window) **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> Well, i would expect any entry related to the old certs to be banished into oblivion **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![npm1](https://github.com/NginxProxyManager/nginx-proxy-manager/assets/35963833/2c7f42c3-9200-42b1-b86b-eb93fa676d31) (the manual renewal in the screenshot was before i noticed that it tries to renew the "no longer existing but apparently zombie certs". Wanted to check what was wrong with it but that worked fine) deleting the affected npm-X.conf in letsencrypt/renewal did solve the "issue" but since the delete button certainly didnt delete anything apart from the certs appearing in the gui, it doesnt do its job xD
Author
Owner

@github-actions[bot] commented on GitHub (Apr 5, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2038614006 --> @github-actions[bot] commented on GitHub (Apr 5, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@etfz commented on GitHub (Aug 27, 2024):

As far as I can tell, one possible cause for this is that the delete functions attempts to delete the certificate by using the certbot revoke command, which will fail if the certificate has already expired.

https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/backend/internal/certificate.js#L1029

<!-- gh-comment-id:2312594724 --> @etfz commented on GitHub (Aug 27, 2024): As far as I can tell, one possible cause for this is that the delete functions attempts to delete the certificate by using the certbot revoke command, which will fail if the certificate has already expired. https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/backend/internal/certificate.js#L1029
Author
Owner

@github-actions[bot] commented on GitHub (Jun 3, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2933128744 --> @github-actions[bot] commented on GitHub (Jun 3, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2163
No description provided.