mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #3465] Deleting Active SSL Certificate Breaks All Hosts Using It #2312
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#2312
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 @coanghel on GitHub (Jan 18, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3465
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Deleting a certificate that is currently in use sends NPM into a reboot loop. Similar to #3420
Nginx Proxy Manager Version
2.10.4
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either do not allow an actively used certificate to be deleted, or update the nginx.conf files for all hosts using it prior to resolving the delete request.
Operating System
Docker running on Ubuntu server
Additional context
Upon investigating, I found that the sqlite database reflected the new SSL certificate in the
certificatetable and the hosts I swapped to the new certificate reflected the correct certificate in theproxy_hosttable, however the nginx .conf files in /proxy_host/ folder still had the path of the old certificate in them. Manually editing these config files and then restarting the container allowed it to start up as expected.@zimbres commented on GitHub (Mar 7, 2024):
Same problem here
@github-actions[bot] commented on GitHub (Oct 30, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@flinthamm commented on GitHub (Feb 20, 2025):
Same problem here
@PietroBer commented on GitHub (Sep 6, 2025):
unfortunately i made the same mistake of deleting 1 ssl certificate and now NPM is in a loop.