Nuno
Nuno
All posts

Your Private CA Breaks Things 13 Months Before It Expires

ACM won't renew a private certificate that would outlive its CA. Staging went down first, and production was about three days from the same failure.
Vander Nunes
December 02, 2026
XInstagramYouTubeLinkedIn
A certificate chain with the top link's expiry date closer than the bottom link's

A staging service mesh started returning 503s. The certificates the mesh used for TLS between services had failed to renew.

The cause was the private certificate authority above them. It still had well over a year of validity left, and that wasn't enough. When I checked production, the same failure was about three days away.

How ACM private certificates renew

AWS Certificate Manager can issue certificates from an AWS Private CA and renew them automatically. Services like a service mesh pick up the renewed certificates without anyone touching them. It's convenient, and because it's automatic, nobody watches it.

There is a rule underneath that's easy to miss: ACM will not issue or renew a certificate whose validity would extend past the validity of the CA that signs it. A child certificate can't outlive its parent.

ACM private certificates are issued with a validity of 13 months. So for a renewal to succeed, the signing CA has to have at least 13 more months of life. If it has 12 months and 29 days left, the renewal fails.

The silent window

Picture a subordinate CA created with a few years of validity. For most of its life, everything renews fine. Then, 13 months before the CA expires, renewals start failing. The existing certificates are still valid, so nothing breaks yet.

Each leaf certificate keeps working until its own expiry date. Then it expires, and since the renewal failed, there's nothing to replace it. That's when the 503s start.

So the CA "expires" in practice up to 13 months before the date on it. And because the failure is a renewal that didn't happen, not an error anyone is paged for, the first symptom is an outage.

What happened in staging

Staging's leaf certificates reached their expiry and weren't replaced. The mesh couldn't complete TLS between services, so calls between them failed with 503s.

From the outside it looked like a mesh problem. The useful question was "when did these certificates last renew, and why not since?" Following that led to the renewals, and from there to the CA's remaining validity.

Then production

The obvious next step was to check production, which used its own subordinate CA from the same setup. Its CA had the same problem. Its leaf certificates hadn't expired yet, but they would, and the first one would go in about three days.

I opened a ticket and a pull request with a read-only plan, so the fix could be reviewed and not rushed. The change that went in extended the production subordinate CA's validity to late 2028 and renewed the production leaf certificates to late 2027. I verified the result afterwards.

Three days is not a comfortable margin. It was enough because staging failed first. Without a staging environment on the same setup, production would have been the warning.

How to check yours

List your private CAs and their expiry dates, and compare each with 13 months from today:

Shell
aws acm-pca list-certificate-authorities \  --query 'CertificateAuthorities[].{arn:Arn,status:Status,notAfter:NotAfter}' \  --output table

Any CA whose notAfter is less than 13 months away can no longer renew ACM certificates. Any CA within about 15 months is close enough to fix now.

Then check the renewal status of certificates issued from it:

Shell
aws acm describe-certificate --certificate-arn <certificate-arn> \  --query 'Certificate.{notAfter:NotAfter,renewal:RenewalSummary.RenewalStatus,reason:RenewalSummary.RenewalStatusReason}'

A renewal status of FAILED is the early warning. Make sure something is watching it.

What to monitor

The expiry date on a CA is the wrong number to alert on. Alert on these instead:

  1. CA validity minus 13 months. That's the real deadline. Alert at least two months before it.
  2. ACM renewal status. Any private certificate with a failed or pending renewal should page someone, long before the certificate expires.
  3. Days to expiry on leaf certificates in use. If a certificate in use is within 30 days of expiry and hasn't renewed, something upstream is wrong.

ACM publishes days-to-expiry metrics and renewal events you can wire into alerts. A small scheduled check running the commands above also works.

What I'd do differently

I'd add the CA validity check to every environment the day a private CA is created, with the 13-month offset built in. The rule is in the documentation, but it's not something you think about when a CA still has years left.

I'd also keep staging on the same CA setup as production on purpose. Here it was the only reason there was any warning at all.

Takeaway

Treat "13 months before the CA expires" as the CA's real expiry date, and alert on failed ACM renewals, not just on expiring certificates.

If you'd like a second look at the certificates and CAs your platform depends on, see Security & Compliance.