Use it when configuring, checking or troubleshooting OCSP in PKI.
OCSP
OCSP lets a relying party query or receive a signed response about a certificate serial's status as good, revoked or unknown without downloading a complete CRL.
1. OCSP gives real-time revocation status.
2. Stapling lets servers send responses.
3. Responder must be available.
4. Public CAs are moving away from OCSP toward CRLs — check current CA practice.
5. Private PKI: monitor responders.
client/server → OCSP responder → good/revoked
Context & applicabilityCommon mistakes · platform/version boundaries
A fresh authorized OCSP good response shows the responder has not marked that certificate revoked for its status interval, but it does not show identity, path, purpose or key safety.
Suspicious evidence: stale response, wrong issuer hash/serial, unauthorized responder, unknown treated as good, stapling absent, responder outage silently ignored, replay outside validity or status lag after revoke.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
certificate serial/issuer → OCSP request or staple → authorized responder status/signature → freshness/applicability checks → relying-party status policy decision
Step 2 Common mistakes Narrow the fault
- Assuming every CA still runs OCSP.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- OCSP good ≠ certificate fully valid.
- Unknown ≠ good or revoked automatically.
- Responder reachable ≠ response fresh and authorized.
- Stapled response ≠ every certificate in the path covered.
openssl ocsp -issuer intermediate.pem -cert cert.pem -url <ocsp-url> -resp_text— OCSP queryopenssl s_client -connect <host>:443 -status </dev/null | grep -A3 'OCSP Response'— stapling- OCSP responder availability — monitoring
ReferenceWhy it matters1 section · depth on demand
In depth
OCSP (Online Certificate Status Protocol) lets clients query a responder for the revocation status of a single certificate, avoiding large CRL downloads. OCSP stapling lets the server attach a recent signed OCSP response to the TLS handshake, improving privacy and performance.
openssl ocsp -issuer intermediate.pem -cert server.pem -url http://ocsp.example.com -resp_text
openssl s_client -connect example.com:443 -status </dev/null | grep -A5 'OCSP response'
Considerations: OCSP responders must be highly available; many clients soft-fail when they cannot reach them. Public CAs are moving away from OCSP toward CRLs and short-lived certificates (Let's Encrypt ended OCSP support in 2025), so check your clients' revocation behaviour rather than assuming OCSP is used.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A fresh authorized OCSP good response shows the responder has not marked that certificate revoked for its status interval, but it does not show identity, path, purpose or key safety.
Checks
openssl x509 -in cert.pem -noout -ocsp_uri
openssl ocsp -issuer int.pem -cert cert.pem -url http://ocsp.example.com -resp_text
openssl s_client -connect host:443 -status
-status shows a stapled OCSP response. Let's Encrypt stopped OCSP in 2025 and relies on CRLs.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in PKI → OCSP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc5280 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
PKI → OCSP proof map
Fast scope, effective cryptographic state, verification and closure boundaries for PKI → OCSP.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Asset/data/peer, security property, identity/name, protocol and time | Does not prove algorithm, key, trust or endpoint correctness |
| Effective cryptographic state | Exact version, algorithm/mode/parameters, key/certificate/path and negotiated result | Configuration or object presence does not prove correct use |
| Verification outcome | Positive, negative, tamper, expiry/revoke and failure tests correlated with evidence | One success does not prove every peer, client, path or lifecycle stage |
| Closure | Original operation succeeds; old/unsafe state is retired and regression checks pass | Administrative workflow completion alone is not closure |