How to fix: OCSP Stapling Not Enabled
Async check: opens a TLS connection requesting OCSP status (requestOCSP) and listens for a stapled OCSP response during the handshake. Reports when an otherwise validly-verified certificate has no stapled response.
Why it matters
Without stapling, clients that check revocation must contact the CA's OCSP responder directly on every visit, adding latency and revealing the visitor's browsing activity to the CA. Some clients soft-fail this check entirely, silently accepting a revoked certificate rather than blocking on a failed OCSP lookup.
OCSP stapling (RFC 6066) lets the server attach a timestamped, CA-signed revocation status to the TLS handshake itself, so clients don't need a separate round trip to the CA to check revocation.
How to fix it
- 1Enable OCSP stapling in the web server/TLS terminator (ssl_stapling on; in Nginx, SSLUseStapling On in Apache).
- 2Verify with: openssl s_client -connect example.com:443 -status < /dev/null 2>&1 | grep -A1 'OCSP Response'.
Code examples
Nginx: enable OCSP stapling
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/ssl/certs/chain.pem;
resolver 1.1.1.1 8.8.8.8 valid=300s;References
Detected automatically by VulnRadar. The check id is tls-ocsp-stapling-disabled, stable across every scan so you can filter or diff on it.
More tls checks
Questions
- How severe is OCSP Stapling Not Enabled?
- VulnRadar rates this info severity in the tls category. The severity is fixed per check, not scored per site, so the same finding is the same severity on every scan.
- Does VulnRadar check for this automatically?
- Yes. It runs as part of every scan under the check id tls-ocsp-stapling-disabled, which stays the same between runs so you can filter, diff, or gate CI on it.
- Which standards does OCSP Stapling Not Enabled map to?
- It maps to CWE-299. In the OWASP Top 10 it falls under A02:2021.
Missing a check?
The detection set is open. If you know a misconfiguration this does not catch, propose it: the issue template asks for the threat model, how to detect it, the false-positive risk, and a test fixture, which is the same thing a maintainer would have to work out anyway.