Capítulo 6 de 8

Revocation: undoing trust early

CRLs, OCSP, stapling and transparency, and why revocation is only as good as the client's behaviour.

Unos 11 minutos de lectura

Al terminar este capítulo podrá

  • Explain why a certificate cannot revoke itself
  • Compare CRL, OCSP and OCSP stapling on freshness and cost
  • Describe what Certificate Transparency detects, and what it does not
  • Explain soft-fail versus hard-fail checking

01The problem with expiry dates

A certificate has an expiry date, but nothing about the certificate lets its owner or its CA take it back early. If the key is stolen, or an employee leaves, or a CA makes a mistake, you need a way to tell the world that a still-unexpired certificate must not be trusted.

Three mechanisms exist, and each trades freshness against cost. None is free, which is why practice varies so much between organisations.

02CRL, OCSP, stapling

MechanismHow it worksStrengthWeakness
CRLCA publishes a signed list of revoked serial numbersSimple, cacheable, verifiable offlineGrows large, goes stale between publications
Delta CRLA smaller list of changes since the last full CRLKeeps clients fresherMore moving parts to publish
OCSPClient asks the CA about one certificatePer-certificate freshnessExtra request per connection, and a privacy leak
OCSP staplingThe server fetches the OCSP answer and sends it alongFresh and private, no client requestServer must keep the staple current

03Certificate Transparency

Certificate Transparency (CT) is not a revocation mechanism. It is a public, append-only log of certificates issued. Anyone can audit it, which makes unauthorised issuance detectable after the fact — and, in some clients, makes a certificate without a signed log entry unusable.

  • CT detects misissued certificates; it does not remove them
  • Browsers require signed certificate timestamps (SCTs) for publicly trusted certificates
  • Monitoring CT for your own domains is one of the cheapest early-warning systems available
  • CT does not help for private CAs, where no public log applies

04Short lifetimes are changing the debate

If a certificate is valid for 47 days and renews automatically, the window in which a stolen key is useful is much smaller, so the pressure on revocation checking drops. That is one reason maximum TLS lifetimes keep shrinking.

It does not, however, remove the need for revocation entirely. Client certificates, code signing and internal PKI still rely on it — and a compromised CA requires distrust, which is a stronger action than revoking one certificate.

Para recordar

  • Certificates cannot withdraw themselves, so CAs publish revocation data
  • CRL, OCSP and stapling differ mainly in freshness, cost and privacy
  • Certificate Transparency makes misissuance detectable, not impossible
  • How a client behaves when revocation data is unavailable decides real-world value