Certificate Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=5134
Answer
Certificate Failure isolates whether a certificate-based trust or authentication path fails because of identity matching, validity, chain building, trust anchors, revocation, key possession or application usage.
Remember
- Certificate present ≠ certificate valid for this identity or purpose.
- Valid dates ≠ trusted chain; issuer/intermediate/trust-anchor and policy checks remain separate.
- Trusted chain ≠ private key available to the service or client.
- Replacing a certificate ≠ proving why validation failed; preserve the original chain and validation error first.
First checks
openssl x509 -in cert.pem -noout -dates -subject -ext subjectAltName— basicsopenssl verify -CAfile ca.pem -untrusted int.pem cert.pem— chaincertutil -verify -urlfetch cert.cer— revocation (Windows)
Commands
openssl verify -CAfile <ca.pem> <certificate.pem>- Read-only/validation observation for certificate path validation against an explicitly selected CA bundle.
openssl verify
Verify in this order
cert → chain → time → name → revocation
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Certificate Failure troubleshooting/evidence map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5134