An employee leaves on Friday. Their card still holds a working private key and a certificate signed by a CA your doors trust. What stops it opening a door on Monday?
Expiry: trust with an end date
Every certificate has a validity period, from a not-before date through a not-after date; both ends are included. After the not-after date, the certificate has expired and path validation fails, whatever else is true. A date within the period doesn’t establish trust on its own: every other check still applies. Expiry limits how long a forgotten, lost or stolen credential can be trusted, and it forces periodic renewal, a natural point to recheck identity and update keys. PIV cards, for example, are issued for at most six years.
But expiry can’t react to events. If someone leaves after one year of a three-year certificate, waiting two years isn’t acceptable.
Revocation: ending trust early
To end trust before expiry, the CA revokes the certificate and publishes that fact, in one of two main ways:
- Certificate revocation list (CRL). A list of revoked serial numbers, signed by the CA or an authorized CRL issuer and published regularly. Each list says when the next one is due.
- Online Certificate Status Protocol (OCSP). A service that reports the status of one or more certificates, as good, revoked or unknown, as of a stated time. Its signed answers may be prepared in advance. A relying party verifies the responder and how fresh the answer is, then completes the other certificate checks: “good” alone doesn’t make a certificate valid.
Revocation only works for relying parties that check it. If the system skips the status check, a door may still grant access to a revoked card while local permissions remain active and all other checks pass. Policies also need to say how fresh status information must be, and what to do when it can’t be obtained.
Try it: move through a card’s life
J. Rivera’s card certificate is valid for three years. Rivera leaves after 14 months and the certificate is revoked. Drag the slider to a date and choose whether the system checks revocation. This shows only the certificate check: it assumes Rivera’s local access rights are still enabled.
When someone leaves: whose step is it?
Module 0 separated authentication from authorization, and offboarding touches both, often with different parties responsible:
- Remove local access immediately. Your site controls its own permissions. Removing them stops the credential being authorized at your doors, whatever its certificate status.
- If the person is no longer eligible for the credential, notify the issuer and follow its termination procedure. For federal PIV, FIPS 201-3 calls for collecting and destroying the card where possible, updating the records and invalidating derived credentials, and requires revoking the certificates when the card can’t be collected and destroyed.
The two aren’t always linked. A visitor can lose access to your facility while remaining eligible for a credential from another agency; and when you run your own CA, both steps are yours.
At the door
Checking revocation online at every tap can be slow, and doors must still work when the network doesn’t. So the back end of the access control system validates certificate status in the background, caches the result and updates the controllers; readers and controllers don’t perform this check themselves. The delay before a revocation takes effect at a door adds up: the issuer’s publication schedule, the cache refresh and delivery to the controller. An immediate poll can still fetch a CRL published before the revocation, and an offline controller may enforce an older result.
NIST guidance calls for refreshing cached status every 6 to 24 hours. Set a maximum age for accepted status and a rule for outages, and always reject a credential known to be revoked.
Go deeperOptional technical detail for readers who want more
CRL versus OCSP
A CRL is simple and can be cached and used offline, but it grows with the number of revoked certificates and is only as fresh as its last publication. An OCSP response reports status as of a stated time. It can cover multiple certificates and may be cached. A live query requires a reachable responder, and tells the responder which certificates are being checked. Large systems often combine them, for example with partitioned or delta CRLs, or with OCSP responses that are fetched in advance and cached.
Failing open or closed
When revocation status can’t be retrieved, a relying party must decide: accept the certificate (fail open), which keeps doors working but may let a revoked card in, or reject it (fail closed), which is safer but can lock people out during an outage. Many sites accept cached status up to a maximum age, then fail closed for sensitive doors.
Suspension
Some certificate policies permit a temporary hold on a certificate, for example during an appeal. A held certificate appears as revoked until the hold is lifted. Whether it’s allowed depends on the policy: for PIV, a reported lost card must be revoked promptly, not held.
Sources
- RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile
- RFC 6960: X.509 Internet PKI Online Certificate Status Protocol (OCSP)
- NIST SP 800-116 Rev. 1: Guidelines for the use of PIV credentials in facility access
- FIPS 201-3: Personal Identity Verification (PIV) of federal employees and contractors
- X.509 Certificate Policy for the U.S. Federal PKI Common Policy Framework
- GSA: PIV-I 101
Draft lesson, awaiting technical review · Last updated 1 December 2026