Chapter 7 · Reading 4 of 6
Investigating certificate revocation with CRL and OCSP
Security+ SY0-801 · Objectives 1.3
A service owner discovers that a private key was copied last week. The portal certificate shows months of remaining validity. A calendar can tell a client when a certificate expires. How can the client learn that the issuer withdrew trust early?
When a valid signature is insufficient
A service exposes its private key on Monday. Its certificate still has six months until expiration and its issuer signature still verifies. Revocation communicates that relying parties should cease trusting the certificate early. Issue a replacement with a new key, revoke the compromised certificate, deploy the replacement and check what clients actually accept. Renewing a certificate around the exposed key leaves the key compromise unresolved.
A certificate revocation list (CRL) is a signed publication identifying revoked certificate serial numbers within the list’s scope. A client locates the distribution point, verifies the issuer or authorized signer, checks scope and freshness, and looks up the issuer-specific serial. Caching supports offline intervals but creates a delay between revocation and client awareness. Large lists impose distribution costs. A delta CRL must be combined with the correct base list.
- Monday: key exposedThe certificate still verifies and has six months left.
- Issue a replacement with a new keyRenewing around the old key leaves the compromise in place.
- Revoke the compromised certificatePublished through CRL and OCSP.
- Deploy the replacementOn every service instance.
- Check what clients acceptTest representative clients, including one with a stale status response.
Interpret a status response
The Online Certificate Status Protocol (OCSP) asks about a particular certificate. A responder returns a signed good, revoked or unknown status. Verify its authority to respond, signature, certificate identifier and timing. ThisUpdate indicates the time the status was known to be correct. NextUpdate, when present, describes when newer information should be available. ProducedAt records when the response was signed. A good response alone does not establish hostname match, permitted usage or a valid chain.
OCSP stapling lets the service present a cached signed response during the handshake. This can reduce client latency and disclosure of browsing activity to the responder. The service must refresh its staple. Decide how a client handles uncertainty in light of both impersonation and outage risk. Failing closed (rejecting the connection) can interrupt service during a responder outage. Failing open (accepting it anyway) can extend exposure to a revoked key. Test actual client behavior with a stale response and with an unreachable responder as separate cases.
| CRL | OCSP | OCSP stapling | |
|---|---|---|---|
| What the client gets | A signed list of revoked serials | A signed status for one certificate | The server’s cached OCSP response, in the handshake |
| Freshness | Delayed by caching and publication interval | Near real time | As fresh as the server’s last refresh |
| Privacy | Responder does not see each site visited | Responder sees which certificate was checked | Client contacts no responder |
| Main cost | Large lists to distribute | Extra lookup, responder outages | Server must keep the staple current |
If status cannot be obtained, failing closed risks an outage and failing open risks trusting a revoked key. Test both cases.
A morning at the service desk
At 09:00 one managed client rejects the certificate while a different client connects. Ask which status source each one used, when it was refreshed and what happened when that source was unavailable. Record the issuer and serial before comparing responses. Serial numbers are meaningful in the context of the issuing authority. Also check whether the two clients reached different service instances, one of which still serves an older chain.
A useful incident update states what the issuer has done, what the server is presenting and what representative clients actually accepted. It gives the key custodian a final question to answer. How did someone obtain either the key itself or permission to use it? The next reading, Designing key custody with HSM, TPM and KMS, examines where keys should live.
Inspect the three records, then use the evidence to answer the question.
1. Certificate
Leaf serial 62 expires on June 30.
2. Cached reply
Signed good reply for serial 62 has nextUpdate June 10.
3. Policy clock
Verifier time is June 12 and policy requires fresh status.
Apply the reading
What would a fresh good OCSP response still leave to verify?
Compare your reasoning
Check the certificate chain, identity, key usage and validity interval as well as the responder's authority.