Cybersecurity glossary

What is OCSP Stapling?

Learn what OCSP stapling is, how stapled OCSP responses work during the TLS handshake, why stapling improves privacy and performance, and how must-staple changes certificate validation.

Cryptography and TLSUpdated August 11, 2026
Also known asTLS OCSP staplingStapled OCSPOCSP status_request

Definition

OCSP stapling is a TLS feature where a server attaches a fresh, CA-signed OCSP response to the TLS handshake so clients can verify certificate revocation status without making their own OCSP request.

Why OCSP stapling exists

Certificate revocation answers a hard question: should this still-valid certificate be trusted right now? Classic OCSP lets a client ask the CA's responder for the status of a specific certificate serial. That works, but it adds latency, creates a new dependency during connection setup, and can leak browsing activity to the responder.

OCSP stapling moves the status delivery into the TLS handshake. The server periodically fetches a signed OCSP response from the issuer or delegated responder, caches it until its validity window nears expiration, and staples it to handshakes for clients that request certificate status.

How stapled OCSP works in the TLS handshake

In TLS 1.2, a client advertises support with the status_request extension from RFC 6066. If the server has a fresh response, it sends a CertificateStatus message after its certificate. In TLS 1.3, status information is carried as an extension associated with the certificate entry, but the validation goal is unchanged.

1

Server fetches status

The TLS terminator asks the CA's OCSP responder for the current status of its certificate.

2

Responder signs a short-lived answer

The OCSP response states good, revoked, or unknown for a certificate serial and includes validity timestamps.

3

Server caches the response

The server stores the signed response and refreshes it before the nextUpdate time.

4

Client requests status

During the TLS handshake, the client indicates that it can process stapled certificate status.

5

Server staples the response

The server includes the cached OCSP response with its certificate data.

6

Client verifies the staple

The client checks the signature, issuer relationship, certificate serial, freshness, and status value before accepting the certificate.

Stapling versus client OCSP

OCSP stapling is not a different revocation authority. It is a better delivery path for the same signed status information.

PropertyClient OCSPOCSP stapling
Who contacts the responderEach client may query the CA or delegated OCSP responder.The server fetches status and shares the signed response with clients.
PrivacyResponder may learn which certificate a client is checking.Responder sees server refreshes, not each client's browsing.
LatencyCan add an extra network round trip during validation.Usually avoids the client-side revocation lookup.
ReliabilityClient validation depends on responder reachability and client policy.Server can refresh proactively and monitor failures centrally.
Failure modeMany ecosystems have soft-failed when status is unavailable.Missing or stale staples matter most when clients require them.

Must-staple and enforcement

OCSP must-staple is commonly used to describe the X.509 TLS Feature extension that requires a client to receive a stapled OCSP response for the certificate. It changes stapling from an optimization into a validation requirement for compatible clients.

Stronger revocation signal

A missing staple is treated as a certificate validation problem instead of a best-effort enhancement.

Operational fragility

Expired staples, responder outages, or misconfigured TLS terminators can break real traffic.

Monitoring required

Operators need alerts for response freshness, issuer changes, and reload failures across every edge endpoint.

Client support varies

Must-staple only helps when the client understands and enforces the TLS Feature extension.

Must-staple is best suited to teams that already have automated certificate renewal, reliable OCSP refresh, and observability at every load balancer, CDN, and ingress point. Without that discipline, it can turn a routine status refresh problem into a production outage.

Multiple certificates and TLS versions

RFC 6961 defined a multiple certificate status request extension so clients could request status for more than one certificate in a chain. Deployment has been uneven, but the motivation is important: a chain can include intermediates whose status also matters.

TLS 1.3 changed handshake message structure, but not the core validation principle. A client still needs to bind the stapled response to the certificate it is validating, verify the OCSP responder's authority, and reject stale, malformed, or revoked status according to its policy.

Operational checklist

  • Enable OCSP stapling on TLS terminators, reverse proxies, CDNs, and application load balancers where supported.
  • Monitor staple freshness and alert before the OCSP response reaches its nextUpdate time.
  • Validate that every certificate served by every edge endpoint presents the expected staple after renewal.
  • Treat responder failures as operational incidents, especially for certificates that use must-staple.
  • Avoid enabling must-staple until renewal, reload, failover, and rollback paths have been tested.
  • Check client behavior in your environment; public browsers, mobile stacks, Java, Go, and enterprise TLS clients may enforce status differently.
  • Keep certificate chains clean so stapled status corresponds to the certificate clients actually validate.
  • Re-key and revoke compromised certificates; stapling only delivers status, it does not repair key exposure.

Common mistakes

The most common failure is treating stapling as a one-time web server setting. Certificates rotate, intermediates change, responders expire responses, and TLS termination often happens in more than one place. A configuration that worked at issuance can silently degrade weeks later.

Another mistake is assuming stapling solves all revocation problems. It improves privacy and performance compared with direct client OCSP, but enforcement still depends on client policy, response freshness, and whether the certificate status is actually checked.

The practical takeaway

OCSP stapling lets a TLS server deliver a fresh, signed certificate-status response inside the handshake. Compared with direct client OCSP, it reduces privacy leakage, cuts validation latency, and gives operators one central place to monitor revocation delivery.

Stapling becomes security-critical when must-staple is in use. Enable it broadly where supported, monitor it like certificate expiry, and test enforcement before depending on it for hard-fail revocation.

Related security terms

Frequently asked questions

What is OCSP stapling in simple terms?

OCSP stapling lets a TLS server show clients a recent, signed certificate-status receipt from the CA during the handshake. The client can validate revocation status without contacting the CA directly.

How is OCSP stapling different from normal client OCSP?

With normal client OCSP, each client may query the CA's responder for a certificate's status. With stapling, the server fetches one signed response, caches it briefly, and sends it to many clients.

Does OCSP stapling improve privacy?

Yes. Direct OCSP queries can reveal which certificates, and often which sites, a client is visiting. Stapling moves that lookup to the server so the CA does not receive a per-user browsing signal.

Does OCSP stapling make TLS faster?

Often yes. A client can avoid an extra network request to an OCSP responder, which reduces latency and makes validation less dependent on third-party responder reachability.

What happens if the stapled OCSP response is expired?

Clients should reject an expired or invalid response when certificate status is required. Many clients historically soft-failed missing status, so operators should monitor freshness rather than assuming stapling is always enforced.

What is OCSP must-staple?

OCSP must-staple is a certificate extension that tells compatible clients to require a stapled OCSP response. It strengthens revocation checking but can cause outages if the server cannot maintain fresh staples.

Does TLS 1.3 still support OCSP stapling?

Yes. TLS 1.3 carries certificate status information in certificate extensions rather than the exact TLS 1.2 handshake layout, but the purpose remains the same: deliver signed revocation status during the handshake.

References

Explore authoritative guidance and frameworks related to ocsp stapling.

Explore every security definition

Return to the glossary to search by term, alias, starting letter, or security category.

Browse glossary