Certificates
Cheat sheet · https://pcornel.dk/topic.php?topic=5894
Answer
Certificates used by automation bind a public key to an identity under a trust chain and policy; automation must manage the private key, issuance profile, SAN/subject identity, trust anchors, validity window, renewal and revocation independently.
Remember
- Certificate parses ≠ certificate trusted for this purpose.
- Trusted CA ≠ correct identity/SAN/EKU.
- Certificate renewed ≠ all consumers serving/using the new certificate.
- Encrypted private key ≠ safe key custody.
First checks
openssl x509 -in client.pem -noout -enddate— expiry- Automated renewal (ACME/cert-manager) — lifecycle
- Private keys protected — storage
Verify in this order
CA → certificate → mTLS auth
Where it usually breaks
Certificate evidence proves identity/trust/lifetime for observed endpoints and sessions; it does not prove private-key non-compromise or application authorization.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5894