Interview Prep/Networking/HTTP, TLS & Certificates

What are OCSP, CRL and OCSP stapling?

IntermediateConceptHTTP, TLS & Certificates
Answer

Both check whether a certificate was revoked. CRL is a downloaded list; OCSP is a per-certificate online query to the CA. Stapling lets the server fetch the signed OCSP response and send it in the handshake, saving client round trips and avoiding leaking browsing to the CA.

In nginx: ssl_stapling on; ssl_stapling_verify on;. Let's Encrypt ended OCSP in 2025 in favor of short-lived certs and CRLs, so check current CA guidance.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates