You're right to treat certificate revocation separately—it’s a subtle but critical weakness in the PKI system. While certificates are designed to be revoked when they are compromised or no longer valid, real-world revocation rarely works as intended. Here’s a breakdown of the main standards in use, along with their trade-offs:
🔧 The Problem of Certificate Revocation (Trust Maintenance)
A certificate might need to be revoked if:
The private key is compromised.
The certificate was issued mistakenly.
The domain no longer belongs to the entity.
The CA itself was compromised.
The challenge: How can browsers and clients efficiently, securely, and reliably know whether a certificate is revoked?
📜 Standard Revocation Mechanisms
- Certificate Revocation List (CRL)
A signed list of revoked certificates, periodically published by the CA.
Client downloads the CRL and checks if the target certificate is listed.
Pros:
Simple to understand and implement.
Doesn’t require contacting a remote server in real time.
Cons:
CRLs can be huge, often multiple MBs.
Clients must download the entire list (inefficient).
Revocation checks can be stale (list may only update every 24+ hours).
Most clients don’t enforce CRLs unless explicitly configured.
- Online Certificate Status Protocol (OCSP)
A real-time, lightweight HTTP query to the CA's OCSP responder.
Asks: "Is cert X revoked?" and gets a signed good / revoked / unknown reply.
Pros:
More up-to-date than CRLs.
Lightweight per-certificate request (~1-2 KB).
CAs can revoke certs and reflect the change almost immediately.
Cons:
Privacy leak: reveals to the OCSP server which sites you’re visiting.
Adds latency (a new HTTPS request before showing the website).
If OCSP server is unreachable, browsers often fail open (assume cert is valid).
Attackers can block OCSP and use a revoked cert successfully (OCSP soft-fail).
- OCSP Stapling
The server fetches its own OCSP response from the CA and "staples" it to the TLS handshake.
The client validates the stapled response, no extra network request needed.
Pros:
Fixes privacy and latency issues.
Still gives clients timely revocation info.
Widely supported in modern TLS (including HTTP/2).
Cons:
Optional: server must be configured to support it.
Some servers don’t refresh OCSP responses properly.
Clients don’t always enforce the stapled data unless required by the cert.
- Short-Lived Certificates
Certificates valid for a short period (e.g. 7–90 days).
Revocation is often unnecessary—just let it expire.
Pros:
Reduces reliance on revocation.
Less long-term risk from key compromise.
Automatically issued/rotated (e.g., Let’s Encrypt via ACME).
Cons:
Requires automation and consistent renewal.
Doesn't help if misissuance is detected immediately after issue.
Infrastructure must handle constant renewal (uptime is critical).
🚨 Fundamental Issues in Revocation
No universal enforcement: Browsers differ in how they check revocation.
Soft-fail policy: OCSP failure ≠ rejection (MITM attacker can exploit).
User feedback is poor: Often no warning when revocation checks are bypassed.
Dependence on CA uptime: Revocation breaks if OCSP endpoints go down or are blocked.
✅ Emerging and Complementary Solutions
CRLite (Mozilla project):
Browser downloads a compressed filter of all known revoked certs.
Enables fast, privacy-preserving revocation checks offline.
Must-Staple:
Certificate extension that requires OCSP stapling; if missing, browser must reject.
Not widely deployed due to fragility and misconfiguration risks.
🔍 Summary Table
MethodLatencyPrivacyCoverageReal-world XXX StaplingLowGoodModerateIncreasingShort-LivedNoneBestLimitedHigh (Let’s Encrypt)
Let me know if you'd like a diagram of how OCSP and stapling interact in a TLS handshake or explore CRLite and its implementation in Firefox.