OCSP Stapling Explained: Do You Still Need It?
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
- Your server asks the CA's OCSP responder about its own certificate.
- The CA returns a signed response with a short validity.
- The server caches it and "staples" it to each TLS handshake.
- 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.
| Setting | Result |
|---|---|
| Stapling on, OCSP URL present | Faster, more private revocation check |
| Stapling on, no OCSP URL | Nothing to staple |
| Stapling off | Clients 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.
✅ 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
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.