CRL vs. OCSP: How Does Certificate Revocation Work? (Explained Clearly)
CompTIA Security+ SY0-801: Cybersecurity Fundamentals
Compare CRL vs OCSP to understand certificate revocation, OCSP stapling, and failure policies, and learn how to troubleshoot PKI certificate trust issues.
👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn how certificate revocation works, how CRL vs. OCSP checks differ, and why an unexpired certificate can still be rejected. Understand OCSP stapling and revocation failure policies to troubleshoot PKI trust issues and build your CompTIA Security+ foundation.
Chapters:
0:00 Intro
0:14 Why would a certificate need to be revoked?
0:55 How does a certificate revocation list work?
1:48 How does OCSP differ from a CRL?
3:09 What are OCSP stapling and revocation failure policies?
4:20 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
- Revocation can invalidate trust before a certificate expires, such as after private-key compromise. It does not erase the certificate or break its signature; clients must obtain and enforce revocation information.
- CRLs provide signed lists; OCSP provides certificate-specific status responses. CRLs support many local checks after download, while direct OCSP typically transfers less data but can reveal which certificate a client is checking.
- Neither “absent from a CRL” nor OCSP
goodproves overall validity. Clients must still check identity, expiration, intended use, and the trust chain. OCSPunknowndoes not meanrevoked; see RFC 6960. - Freshness matters for both mechanisms. Cached CRLs and OCSP responses can delay recognition of a revocation; a valid signature alone does not make old evidence acceptable.
- OCSP stapling lets the server deliver signed status evidence, reducing separate client requests, latency, and privacy exposure. Servers must refresh staples; Must-Staple enforcement varies by client.
- Soft fail favors availability; hard fail rejects uncertainty. An unreachable revocation service proves neither revocation nor safety, but it can cause authentication failure when current evidence is required.
- Troubleshoot the application’s actual behavior: identify its status source, verify reachability and scope, inspect freshness and caches, and confirm its failure policy.
- 👉 Turn PKI concepts into hands-on confidence with Pluralsight, an optional next step offering guided security labs, feedback, assessments, and certification practice exams.
An unexpired certificate can still be rejected. If its private key is stolen or its owner is no longer authorized to use it, waiting for the expiration date would leave a gap in trust.
Certificate revocation withdraws acceptance of a certificate before it expires. Two common ways to communicate that change are certificate revocation lists (CRLs) and the Online Certificate Status Protocol (OCSP).
The central difference in CRL vs. OCSP is how a client obtains status information: a CRL provides a signed list to check locally, while OCSP provides a signed status response for an identified certificate. Both depend on fresh evidence and the application’s enforcement policy.
Why Certificate Revocation Is Necessary
A digital certificate binds an identity or name to a public key. A certificate authority, or , signs the certificate so that other systems can verify that binding.
FAQ
Quick answers to the questions people usually ask about this topic.
Does renewing or replacing a certificate automatically revoke the old one?
Does renewing or replacing a certificate automatically revoke the old one?
No. Issuing a replacement certificate and revoking the original are separate actions. The old certificate may remain acceptable until it expires unless it is revoked or otherwise rejected by the relying system. If its private key was compromised, replacing the certificate alone does not prevent misuse of the old certificate and key.
Can certificate revocation be checked without internet access?
Can certificate revocation be checked without internet access?
Yes, if the validating system already has authentic, applicable, sufficiently current evidence, such as a cached CRL or OCSP response. A private PKI can also distribute status information through internal services without public internet access. When acceptable evidence is unavailable, the application's failure policy determines whether validation continues or fails.
Is it safe to download a CRL over HTTP instead of HTTPS?
Is it safe to download a CRL over HTTP instead of HTTPS?
A CRL's authenticity comes from its digital signature, not solely from the download connection. A client must verify its signature, issuer, scope, and freshness before using it. HTTP delivery can still be disrupted or blocked, so signed revocation information does not eliminate availability risks or the need for appropriate failure policies.
Can a PKI use both CRLs and OCSP?
Can a PKI use both CRLs and OCSP?
Yes. A CA can publish CRLs and provide an OCSP service, and an OCSP responder may use CRL data as its status source. However, an application does not necessarily check both or automatically fall back from one to the other. Its implementation and validation policy determine which evidence it accepts.
Does revocation checking apply only to a website's certificate?
Does revocation checking apply only to a website's certificate?
No. Depending on the application and its validation policy, revocation checking can also apply to intermediate CA certificates in the certificate chain. An acceptable status result for the website's certificate does not establish that the entire chain is trusted. Root CA trust is generally managed through the client's trust store rather than ordinary revocation checks.
How can I practice PKI troubleshooting for CompTIA Security+ preparation?
How can I practice PKI troubleshooting for CompTIA Security+ preparation?
Start by distinguishing certificate expiration, chain-trust failures, confirmed revocation, and unavailable status evidence. Then practice identifying the status source, checking freshness, and explaining how soft-fail or hard-fail policies affect the outcome. For structured hands-on learning beyond this article, explore Pluralsight for guided security labs, feedback, assessments, and practice exams that help you identify gaps and focus your certification preparation.
Comments
Add a comment...Pinned by @jaymayor
@jaymayor👉 Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Some links may earn a commission. Thanks for your support.
