It's 00:01. Nothing was deployed. The servers are healthy, the database is healthy, and the application is responding exactly as it should. Then the phones start ringing: every client is getting a TLS error.
The certificate on the load balancer expired at midnight. Nothing in the application changed, and nothing failed in the traditional sense. The incident started with a date on a calendar.
expiry is a reliability problem
Many teams treat certificate renewal as an administrative chore: put a reminder in a calendar, ask someone to renew it, and hope they remember. That works until the person leaves, the reminder goes to an inbox nobody reads, or the certificate lives on a service nobody remembers owning.
The better framing is operational. A certificate that can expire without anyone acting is a failure waiting to happen, and it deserves the same treatment as any other single point of failure: discovery, monitoring, automation, and tested recovery.
the lifecycle has four stages
Certificate management is easier to reason about as a lifecycle:
- -Discover. Know every certificate in use, including ones on load balancers, ingress controllers, internal services, and third-party endpoints.
- -Monitor. Track each certificate's expiry date and alert well before it becomes urgent.
- -Renew. Obtain a new certificate automatically, without a human generating a key or filling in a form.
- -Deploy. Install the new certificate everywhere it's used, and verify that clients actually see it.
Most outages happen at the gaps between these stages. A certificate gets renewed but never deployed to the load balancer. A certificate is deployed but the discovery list never included that hostname.
discovery: you can't renew what you don't know about
The certificate that causes the outage is often the one nobody tracked. It might be on an old admin panel, an internal service that predates the current team, or a vendor-hosted endpoint your system depends on.
Start with an inventory. Scan your public endpoints, query your cloud load balancers and ingress controllers, and check your secrets manager and certificate stores. Treat that list as a living document, not a one-time audit.
monitoring: alert long before the date
An alert that fires the day before expiry is an alert that fires too late. Set thresholds in layers:
flowchart LR
A[Certificate issued] --> B[30 days left: automated renewal starts]
B --> C{Renewal succeeded?}
C -->|yes| D[Deploy and verify]
C -->|no| E[Alert the owning team at 20 days]
E --> F[Escalate at 7 days]Warnings at 30 and 14 days give automation time to retry. An alert at 7 days means something is genuinely stuck. Make sure these alerts go to a channel someone actively watches, and that every certificate has a clear owner.
Monitoring the certificate itself is only half the job. Also check what clients actually receive, since a renewed certificate that was never deployed still expires on the live endpoint.
renewal: automate the issuance
Modern certificate authorities and tooling make automated issuance practical. Protocols such as ACME let a client prove control of a domain and obtain a new certificate without manual steps. Cloud providers offer managed certificates that renew on their own for supported services.
Automation has to handle failure, too. Renewal can fail because a DNS record changed, a validation endpoint is blocked, or rate limits were hit. Those failures should retry automatically and surface as alerts, not disappear silently into a log.
deployment: renewal is not finished until it's live
Getting a new certificate file is only half the work. It has to reach every place that terminates TLS: load balancers, reverse proxies, ingress controllers, and any service that presents the certificate directly.
Some practical points:
- -Deploy through the same automated pipeline you use for everything else, not by hand.
- -Roll out gradually where possible, so a bad certificate or chain doesn't take down the whole fleet at once.
- -Verify after deployment by connecting to the live endpoint and checking the certificate served, its expiry, and its chain.
Verification is the step most teams skip, and it's the one that catches the quiet failures.
private keys and trust chains
Two details cause surprising outages:
- -Private keys. If the key is generated and stored carelessly, renewal may require someone to rebuild or copy material by hand. Keep keys in a secrets manager or a managed certificate service, and rotate them as part of renewal.
- -Intermediate chains. A certificate can be valid on its own but fail for some clients if the intermediate certificate is missing or outdated. Test with the clients you actually serve, not just one browser.
common mistakes
- -Relying on calendar reminders. Reminders depend on a person who may have left, changed roles, or stopped reading that inbox.
- -Automating renewal but not deployment. The new certificate sits in a file while the old one keeps serving traffic until it expires.
- -Forgetting certificates on secondary systems. Staging, internal tools, and third-party integrations are often where expiry surprises happen.
- -No owner for each certificate. An alert that goes to everyone goes to no one.
- -Never testing the failure path. If you've never seen what happens when renewal fails, you'll discover it during an outage.
the takeaway
Certificate expiry is one of the most preventable outages in infrastructure, and one of the most common. Treat every certificate as something that can expire without human intervention, which means its lifecycle needs to be automated and monitored from issuance to deployment to verification.
If you're responsible for a system today, start with discovery. List every certificate, its owner, and its expiry date. Then make sure renewal, deployment, and alerting happen without anyone having to remember. The best incident is the one that never reaches production.