[GH-ISSUE #189] deleting resources leaves entries in acme.json #8096

Closed
opened 2026-04-30 03:33:02 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @manilx on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/189

I have added and deleted various resources during testing. Checking the acme.json file in config/letsencrypt I see all the entries there. They should be deleted also when deleting a resource.

Originally created by @manilx on GitHub (Feb 11, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/189 I have added and deleted various resources during testing. Checking the acme.json file in config/letsencrypt I see all the entries there. They should be deleted also when deleting a resource.
Author
Owner

@miloschwartz commented on GitHub (Feb 11, 2025):

That is expected behavior. We want to keep the certs around so they can be reused. If we deleted the certs when you delete a resource, then Traefik would try to recreate the certificate next time you reuse that subdomain. This would mean you have more certs opened with Lets Encrypt and would draw down on your account's limits. If you switch to wildcard certs, then a new cert won't be generated for each resource anyway.

<!-- gh-comment-id:2651603846 --> @miloschwartz commented on GitHub (Feb 11, 2025): That is expected behavior. We want to keep the certs around so they can be reused. If we deleted the certs when you delete a resource, then Traefik would try to recreate the certificate next time you reuse that subdomain. This would mean you have more certs opened with Lets Encrypt and would draw down on your account's limits. If you switch to wildcard certs, then a new cert won't be generated for each resource anyway.
Author
Owner

@manilx commented on GitHub (Feb 11, 2025):

  1. I have edited the file and deleted those entries because I won't need them.
  2. How do I switch to wildcard certs on Pangolin?
<!-- gh-comment-id:2651608135 --> @manilx commented on GitHub (Feb 11, 2025): 1. I have edited the file and deleted those entries because I won't need them. 2. How do I switch to wildcard certs on Pangolin?
Author
Owner

@manilx commented on GitHub (Feb 11, 2025):

Just found it: https://docs.fossorial.io/Pangolin/Configuration/wildcard-certs

Have to do it manually.....

<!-- gh-comment-id:2651612181 --> @manilx commented on GitHub (Feb 11, 2025): Just found it: https://docs.fossorial.io/Pangolin/Configuration/wildcard-certs Have to do it manually.....
Author
Owner

@manilx commented on GitHub (Feb 11, 2025):

Got it working. Good docs!

<!-- gh-comment-id:2651651630 --> @manilx commented on GitHub (Feb 11, 2025): Got it working. Good docs!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#8096