Cyberstudy
1.4 In progress

Certificate Revocation

13 flashcards

Summary

A certificate can be revoked before it expires if its private key is compromised or its details become wrong. Relying parties check revocation status through certificate revocation lists (CRLs) or the Online Certificate Status Protocol (OCSP). Short certificate lifetimes reduce how long a bad certificate can be misused.

In plain words

If a certificate's private key is stolen, or it shouldn't be trusted for another reason, the CA revokes it. Clients learn about revoked certificates from a certificate revocation list (CRL) or by asking an OCSP server in real time.

Detailed explanation

  • Revocation: Permanently invalidating a certificate before its expiry date.
    • Reasons: Key compromise, CA compromise, change of affiliation, superseded, or the certificate is no longer needed.
  • Suspension: Temporarily invalidating a certificate; it can be reinstated later. Shown with the reason code "certificate hold".
  • Certificate revocation list (CRL): A list of revoked serial numbers, signed and published by the CA at regular intervals.
    • Distribution point: The URL in a certificate where its CRL can be downloaded.
    • Limitation: A CRL can be out of date between publications, and lists can grow large.
  • Online Certificate Status Protocol (OCSP): Lets a client ask an OCSP responder for the status of a single certificate in real time.
  • OCSP stapling: The server fetches a signed OCSP response and attaches it to the TLS handshake, which saves the client a lookup and protects its privacy.
  • Current trend: Since 2024 the CA/Browser Forum requires CRLs for public TLS certificates and makes OCSP optional, and some CAs have retired OCSP. Certificate lifetimes are also being shortened.

Important terms

taken from the text above
Revocation
Permanently invalidating a certificate before its expiry date.
Suspension
Temporarily invalidating a certificate; it can be reinstated later. Shown with the reason code "certificate hold".
Certificate revocation list (CRL)
A list of revoked serial numbers, signed and published by the CA at regular intervals.
Distribution point
The URL in a certificate where its CRL can be downloaded.
Online Certificate Status Protocol (OCSP)
Lets a client ask an OCSP responder for the status of a single certificate in real time.
OCSP stapling
The server fetches a signed OCSP response and attaches it to the TLS handshake, which saves the client a lookup and protects its privacy.

Examples & real-world scenarios

  • Revoked for key compromise after a server breach.
  • Suspended ('certificate hold') while an issue is investigated.
  • OCSP giving an instant good, revoked or unknown answer.

Scenario

A web server is breached and its private key may have been copied. The admin revokes the certificate immediately and installs a new one with a new key pair. Otherwise an attacker could impersonate the site until the old certificate expired.

Common mistakes

  • Treating revoked and suspended as the same. Suspended can be reinstated; revoked can't.
  • Assuming revocation always works. Clients that don't check the CRL or OCSP can still accept a revoked certificate.

Practical skills

  • Explain when to revoke and how clients find out.

What I should remember

  • CRL: A signed list of revoked certificates published periodically.
  • OCSP: Real-time status check for one certificate.
  • OCSP stapling: The server supplies the status response during the handshake.
  • Suspension: A reversible hold, unlike revocation.