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.
In more detail
The client gets fresh revocation status without contacting the certificate authority, so the authority no longer learns which sites each user visits. It also saves the client a separate network request. The answer is signed by the authority, so the server cannot forge a good status, although if the server sends nothing most clients still continue.
Example
nginx: ssl_stapling on;Related terms
- OCSP — A protocol a client uses to ask a certificate authority's server whether one particular certificate is still valid, receiving a signed answer.
- TLS handshake — The opening exchange of a TLS connection, in which client and server agree on settings, check certificates and create shared keys.
- 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.
- CRL — A list, signed and published by a certificate authority, of the serial numbers of certificates it has revoked before their expiry.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography