Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

OCSP

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting OCSP in PKI.

First 30 seconds

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.

Operational verification

client/server → OCSP responder → good/revoked

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse it when configuring, checking or troubleshooting OCSP in PKI.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • OCSP good ≠ certificate fully valid.
  • Unknown ≠ good or revoked automatically.
  • Responder reachable ≠ response fresh and authorized.
  • Stapled response ≠ every certificate in the path covered.
Key checks
  • openssl ocsp -issuer intermediate.pem -cert cert.pem -url <ocsp-url> -resp_text — OCSP query
  • openssl 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

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%
Terminology layer

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.

Aliases that resolve here
online certificate status protocolOCSP statuscertificate online revocation check
Embedded reference data

Quick lookup tables

PKI → OCSP proof map

Fast scope, effective cryptographic state, verification and closure boundaries for PKI → OCSP.

BoundaryEstablishDoes not establish
Scope and intentAsset/data/peer, security property, identity/name, protocol and timeDoes not prove algorithm, key, trust or endpoint correctness
Effective cryptographic stateExact version, algorithm/mode/parameters, key/certificate/path and negotiated resultConfiguration or object presence does not prove correct use
Verification outcomePositive, negative, tamper, expiry/revoke and failure tests correlated with evidenceOne success does not prove every peer, client, path or lifecycle stage
ClosureOriginal operation succeeds; old/unsafe state is retired and regression checks passAdministrative workflow completion alone is not closure
Confirmation

Confirm action

Continue?