OCSP
A protocol a client uses to ask a certificate authority's server whether one particular certificate is still valid, receiving a signed answer.
In more detail
OCSP stands for Online Certificate Status Protocol. The client sends the issuer and serial number to a server called a responder, which replies good, revoked or unknown and signs the reply. It avoids downloading a whole list, but each query tells the responder which site the user is visiting, and when the responder is unreachable browsers usually carry on anyway. Some large public certificate authorities, including Let's Encrypt, have stopped offering it and publish only revocation lists.
Examples
openssl ocsp -issuer ca.pem -cert www.pem -no_nonce -reqout request.derCert Status: revokedRelated terms
- OCSP stapling — A technique where the web server fetches a recent signed OCSP answer about its own certificate and sends it to clients during the TLS handshake.
- CRL — A list, signed and published by a certificate authority, of the serial numbers of certificates it has revoked before their expiry.
- revocation — Cancelling a certificate before its expiry date, usually because its private key leaked or it was issued wrongly, and telling clients to stop trusting it.
- openssl ocsp — The OpenSSL command that can build OCSP requests, act as a simple OCSP responder, and check the signed answers.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Simulation: Checking Certificate Chains — CompTIA Security+ (SY0-801) Exam Prep