← Back to section · Digital Security
Certificate Revocation: CRLs, OCSP, and the Short-Lived Endgame
A certificate was mis-issued or a key has leaked — how does the whole internet find out in time? The clumsiness of CRLs, OCSP's soft-fail and privacy problems, the stapling fix, and why the industry is ultimately walking away from revocation.
A certificate may be valid for up to a year (now capped at 398 days by industry rules), and a great deal can happen in a year: a private key leaks, a domain changes hands, an employee leaves, a CA discovers it certified the wrong party. Checking revocation status during path validation exists to retire certificates that are issued but should no longer be trusted. The idea is simple; the implementation has been tangled for over two decades, because revocation data must reach every device on the internet — fresh, fast, and without revealing which sites a user visits. Those three requirements fight each other.
How a revocation gets triggered
Revocation does not happen by itself; it starts with a request or a discovery. Three parties can set it in motion: the certificate holder (revoking voluntarily after a key compromise or when a certificate is retired), the party actually controlling the domain or system (who can show a certificate was issued without their knowledge), and the CA itself (obliged to revoke on its own initiative when it finds validation errors, false certificate data, or breaches of the subscriber agreement). Any third party may also file a certificate problem report with a CA, and the CA/B Forum Baseline Requirements impose hard clocks: the CA must begin investigating within 24 hours of a report, must complete revocation within 24 hours for confirmed high-risk cases such as key compromise, and within five days for the other enumerated grounds. The reason is encoded into CRL entries and OCSP responses (dedicated reason codes exist for key compromise, cessation of operation, supersession and more), though in practice a large share of revocations are filed as “unspecified” and reason data quality remains uneven. On the holder’s side, the real work precedes revocation: key custody determines how likely a leak is, and detection speed determines how fast the request goes out — monitoring CT logs for unexpected issuance against your own domains (see this site’s article on Certificate Transparency) is often the first signal that triggers an emergency revocation.
CRLs: the clumsiness of a complete list
The Certificate Revocation List (CRL) is the original mechanism: the CA periodically signs a file listing the serial numbers of all revoked, not-yet-expired certificates, and clients download it and check locally (RFC 5280). The problem is scale — a large CA’s CRL can reach megabytes and only grows with issuance volume. Freshness and size pull in opposite directions: the newer the list, the bigger it is, and the bigger it is, the less anyone wants to fetch it often. In practice clients frequently hold lists days old, and revocation’s timeliness becomes nominal. CRLs were never abolished — they remain the baseline mechanism in many compliance regimes — but browsers long ago stopped expecting them to provide real-time protection.
OCSP: three original sins of online checking
The Online Certificate Status Protocol (OCSP, RFC 6960) replaced list-downloading with a per-certificate query: while validating, the client asks the CA’s responder for a signed, current verdict — good, revoked, or unknown. The idea is right; the deployment has three structural flaws:
- Soft-fail — when the OCSP responder is unreachable or times out, most clients proceed rather than break the connection; otherwise one CA outage would take down half the web. But an attacker who can block OCSP queries thereby disables revocation, making it least reliable in precisely the scenario (an active attack) where it is needed most.
- Privacy — each query tells the CA “this user is visiting this site”, handing CAs a browsing-history feed that clashes directly with modern privacy expectations.
- Latency and availability — every handshake gains a round trip and an external dependency, and the responder’s uptime becomes the uptime of every site it serves.
Stapling, and browsers building their own channels
OCSP stapling moves the querier from client to server: the server periodically fetches a signed, timestamped OCSP response from the CA and delivers it with the certificate during the TLS handshake. The privacy problem disappears (the CA sees only the server’s scheduled queries), the latency problem disappears (the response arrives with the handshake), and availability pressure moves to the server’s side. The companion must-staple extension (RFC 7633) could have gone further — requiring clients to hard-fail when no stapled response is present — but deployment risk kept its adoption minimal, and hard-fail is still not the ecosystem default.
Stapling carries an operational duty of its own: the stapled OCSP response is timestamped and typically valid for only a few days, so the server must keep refreshing it in the background. If that refresh fails silently, clients start erroring — or fall back to soft-fail — once the response expires; more than one production incident has boiled down to “the certificate was fine, the stapled response was stale”. The reliability of the revocation system, once again, ends up resting on its least glamorous scheduled job.
Browser vendors eventually built their own distribution channels: Chrome’s CRLSets and Firefox’s CRLite compress the internet’s high-priority revocations (chiefly intermediate CAs and high-value certificates) and push them to clients with browser updates; CRLite uses cascaded Bloom filters to squeeze the complete revocation dataset into a distributable size. Validation becomes a local lookup again — fast, private, with no soft-fail window — at the cost of coverage being whatever the vendor selects.
The endgame: certificates too short-lived to need revocation
In hindsight, all three mechanisms answer the same question: how to shrink the gap between “this certificate should no longer be trusted” and “the whole internet stops trusting it”. The most thorough answer is to make the certificate’s own lifetime shorter than that gap. When a certificate lives six days or less (see this site’s “Certificate Lifecycle Automation”), a leaked key’s useful window is naturally only days, and revocation needs to cover only the extreme minority of cases. The shift is already under way: Let’s Encrypt retired its OCSP service in 2025, moving to a combination of CRLs and short-lived certificates, and the CA/B Forum’s march toward a 47-day maximum points the same way. Post-quantum migration adds another push: revocation responses and CRL entries carry signatures too, and once PQC signatures inflate them, online queries and list distribution both get more expensive — widening the relative advantage of short-lived certificates. Revocation will not disappear, but it is stepping back from the lead role to a safety net.
Sources and further reading
- IETF, RFC 6960: X.509 Internet Public Key Infrastructure Online Certificate Status Protocol (OCSP), 2013. https://www.rfc-editor.org/rfc/rfc6960
- IETF, RFC 7633: X.509v3 Transport Layer Security (TLS) Feature Extension, 2015. https://www.rfc-editor.org/rfc/rfc7633
- Let’s Encrypt, Ending OCSP Support in 2025, 2024. https://letsencrypt.org/
- Mozilla, CRLite project documentation. https://wiki.mozilla.org/Security/CRLite
Tags: PKIrevocationOCSPCRL