Monitoring and observability ยท Practice and architecture
cert-manager did not renew a TLS certificate: what to check
The certificate a user sees is not always the certificate the controller renewed. Separate diagnosis into issuance, certificate storage and presentation at the public or internal endpoint.
Find the failing layer
Compare the validity date at the correct endpoint with the certificate in the resource consumed by the controller. Identify whether TLS terminates at ingress, a load balancer or another intermediary. If the stored certificate is current but users see an older one, start at that serving layer.
If issuance failed
Review conditions and events for Certificate and Issuer or ClusterIssuer resources and, for ACME, the relevant requests and challenges. With DNS-01, check the authoritative zone and propagation; with HTTP-01, check reachability and the agreed route. Avoid deleting resources and secrets without evidence.
Set an early warning
Monitor validity at endpoints and in the automation layer. Assign an alert owner and document who controls domain records and routes. Exercise test issuance when making material DNS or controller changes.
Verify the fix
Confirm the new validity date and chain at each expected hostname and verify application behavior. Record the cause, corrective actions and remaining dependencies in the runbook.