Pcornel
Security · PKI

Certificate Revocation

Cheat sheet · https://pcornel.dk/topic.php?topic=4729

Back to the Topic

Answer

Certificate Revocation marks a certificate as no longer acceptable before expiry after key compromise, mis-issuance, identity/authorization change or CA/policy decision and relies on clients enforcing current status.

Remember

  • Certificate revoked ≠ private key destroyed or sessions ended.
  • CA database state ≠ CRL/OCSP published and consumed.
  • Revocation published ≠ every client checks or fails closed.
  • Expiry ≠ substitute for compromise response.

First checks

  • openssl ca -revoke cert.pem (OpenSSL CA) — revoke
  • certutil -revoke <serial> <reason> — AD CS
  • Revocation published in CRL/OCSP — verify

Verify in this order

compromise → revoke → CRL/OCSP updated → clients reject

Where it usually breaks

First mismatch in key/secret generation → storage/rotation → trust/certificate validation → protocol negotiation → cryptographic operation → peer/application verification; preserve identity/policy/pre-state before mutation.

PKI → Certificate Revocation proof map

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4729

Confirmation

Confirm action

Continue?