ssl-guides 2026-12-02 ⏱ 3 min read

OCSP Stapling Explained: Do You Still Need It?

OCSP Stapling Explained: Do You Still Need It?
Quick Answer: OCSP stapling lets your web server fetch a signed "this certificate is still valid" answer from the CA and send it with the TLS handshake, so browsers do not need to contact the CA themselves. It only applies if your certificate includes an OCSP responder URL.

The problem it solves

Certificates can be revoked before they expire, for example if a key is leaked. OCSP, the Online Certificate Status Protocol, lets a client ask the CA whether a certificate is still good. Done by every client, that has costs:

  • An extra request slows down the first connection.
  • The CA learns which sites each user visits.
  • If the CA's responder is down, clients must choose between failing and ignoring the check.

How stapling works

  1. Your server asks the CA's OCSP responder about its own certificate.
  2. The CA returns a signed response with a short validity.
  3. The server caches it and "staples" it to each TLS handshake.
  4. The client checks the CA's signature and the time, with no extra request.

Important: check that your certificate uses OCSP

Some CAs have started to move away from OCSP. Let's Encrypt, for example, dropped OCSP URLs from its certificates on 7 May 2025 and turned off its responders on 6 August 2025 (Let's Encrypt OCSP announcement), and now relies on CRLs. If your certificate contains no OCSP URL, stapling has nothing to staple, and enabling it only produces warnings in logs. Check your certificate:

openssl x509 -in certificate.pem -noout -ocsp_uri

If the command prints a URL, stapling is relevant. If it prints nothing, skip it. The SSL Decoder also shows the authority information in a certificate.

Enable it on Nginx

ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/ssl/example.com/chain.pem;
resolver 1.1.1.1 8.8.8.8 valid=300s;

chain.pem contains the intermediate certificates, used to verify the response. Reload with nginx -t && systemctl reload nginx.

Enable it on Apache

SSLUseStapling on
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"

The cache line goes in the global server configuration, outside any virtual host.

Test it

openssl s_client -connect example.com:443 -servername example.com -status < /dev/null | grep -A 5 "OCSP"

Look for "OCSP Response Status: successful". Nginx fills the staple lazily, so the first request may show "no response sent". Run it twice. The TLS Checker and SSL Checker help review the rest of the setup.

SettingResult
Stapling on, OCSP URL presentFaster, more private revocation check
Stapling on, no OCSP URLNothing to staple
Stapling offClients check themselves, or skip the check

For the rest of a sound setup read Best TLS Configuration for Nginx and Apache. If you want a free certificate to start from, see TryFreeSSL.com.

FAQ

Is OCSP Must-Staple the same?

No. Must-Staple is a certificate extension that tells clients to require a stapled response. Use it only if you are sure your server staples reliably. Let's Encrypt no longer issues certificates with it: requests that include the extension have failed since 7 May 2025.

Does stapling affect SEO?

Not directly, but faster connections help the user experience.

Why does my staple show as missing?

The server may not have fetched it yet, cannot reach the responder, or the certificate has no OCSP URL.

Do browsers still use OCSP?

Behavior differs. Several browsers rely on their own revocation lists instead, so stapling is a helpful extra rather than the only line of defense.

🛡️ Scan Your Site for Mixed Content & Security Headers
Scan Security Headers →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant