Working practice · 4 min read
November 3, 2026 · Timothy O’Brien
The Expiry Date Hiding in Your Managed Database
A managed database removes almost every operational chore except one: the expiry date on its own TLS certificate. It comes up roughly every five years, breaks every verified connection at once, and looks nothing like what it is.
Yesterday I wrote about being first to adopt a new SKU. Today is the opposite corner of the managed-service bargain: the thing you never adopted at all, and which still goes wrong. It is a failure so rare and so boring that almost nobody keeps it on a runbook, and in August 2024 it took down verified database connections across the industry.
You spin up a managed database: Amazon RDS, Aurora, or something similar from another provider. The provider handles provisioning, backups, patching, failover and storage scaling. You feel like an operator with nothing left to operate. That feeling is accurate, with one exception.
Your database talks TLS. The server presents a certificate chain signed by the provider’s certificate authority, and your application is configured to verify it, which is the right way to do it. That chain has an expiry date. The provider cannot simply switch you to a new root CA, because the new root has to be in your client’s trust store first, and only you can put it there. So the provider publishes new CAs years in advance and asks you to adopt them, and most teams, most of the time, don’t get to it.
In August 2024, Amazon’s rds-ca-2019 certificate authority expired. AWS’s own knowledge center describes what happened: “Connections to Amazon RDS databases might fail because the SSL/TLS certificates are expired. This issue affects every type of Amazon RDS DB instance.” The error text that arrives is misleading. PostgreSQL clients log sslv3 alert certificate expired or a certificate verification failure that mentions certificates you have never heard of. MySQL clients log MySQL Error 2026 (HY000): SSL connection error: certificate verify failed. None of those strings says “check the calendar.” They say something is wrong with your encryption, which reads like an incident, or a compromise, or a misconfigured proxy. The first hour of triage goes to all the wrong places.
What makes this an operational problem and not a trivia question is the shape of the failure. It has nothing to do with load or capacity, or with anything else your dashboards watch. The database CPU graphs look fine, because the database is doing almost no work. Nothing on a dashboard hints at TLS. The failure arrives on a date, hits every verified connection at once, and persists until someone notices that the root CA named in the error is the one that turned five this month. The book calls this the “when you are the one escalated on” problem, in chapter 3: the person on call inherits everything the dashboards were not built to watch, and no dashboard is built to watch a date.
The sneaky part is that some of the rotation is automatic. AWS rotates the server certificate by itself. Their docs say: “RDS attempts to rotate your DB server certificate in your preferred maintenance window at the DB server certificate half life,” and the new server certificate is valid for twelve months on engines that support rotation without a restart. So from the database side, everything hums along for years. The piece that does not rotate itself is the trust store inside your application. That part stays your job for as long as you run on a hosted database, because the provider cannot push a new root CA into your code. Every time they prepare a rotation, the order of operations is the same: update your clients first, then change the database. AWS says exactly that: “Before you update your DB instances or Multi-AZ DB clusters to use the new CA certificate, make sure that you update your clients or applications connecting to your RDS databases.”
This is the fine print of the managed-database deal. The provider takes the chores that happen every day and every month. The one chore left over comes around every few years, and that is why it falls through. It is too rare to appear on a quarterly checklist and too wide to fail quietly. When it goes, it takes every application instance that verifies certificates with it, and it shows up as a mysterious security error instead of a planning miss.
The strange part is how cheap the fix is. There is no engineering work in it, only a date to put on a calendar. describe-certificates shows the ValidTill date for every certificate authority in your account, and the instance view shows which CA each database currently trusts. Those dates can go straight into the same calendar you keep patching and contract renewals on. Download the combined bundle, which contains the old and new CAs together, and your application stays connected through the transition either way.
A hosted database really does remove most of the operational work. It cannot remove trust, because trust lives in your application by design, and trust is the one part of the system that still fails on the manufacturer’s calendar instead of under load. Put the expiry date somewhere a human will see it before it turns up as an SSL error in a log nobody is reading at two in the morning.
