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.
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.
I have edited the file and deleted those entries because I won't need them.
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?
<!-- 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.....
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
@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.
@manilx commented on GitHub (Feb 11, 2025):
@manilx commented on GitHub (Feb 11, 2025):
Just found it: https://docs.fossorial.io/Pangolin/Configuration/wildcard-certs
Have to do it manually.....
@manilx commented on GitHub (Feb 11, 2025):
Got it working. Good docs!