Clean up unused TLS certificates on gateways
Problem
TLS certificates are never deleted on gateways. Even if a certificate was issued for a service that is no longer running and may never run again, the certificate is still stored on disk and updated regularly (every 3 months by default), wasting resources and CA limits.
Solution
Automatically delete the certificates that have not been used for any services for some time, e.g. 2 weeks.
(keeping a certificate for some time after its service has been stopped is useful to avoid reissuing it if the service is soon restarted with the same name)
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Still relevant
This issue is stale because it has been open for 30 days with no activity.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.