Pcornel
Security · PKI

Root CA

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

Back to the Topic

Answer

A Root CA is a trust anchor whose self-signed certificate and private signing key establish the top of a PKI hierarchy; compromise can undermine every subordinate path that relies on it.

Remember

  • Self-signed ≠ untrusted automatically.
  • Root certificate validity ≠ root private key online or actively used.
  • Root trusted in one store ≠ trusted by every client/application.
  • Root offline ≠ root key ceremony and backup automatically secure.

First checks

  • openssl x509 -in root.pem -noout -subject -dates -fingerprint -sha256 — root details
  • Offline storage and ceremony records — protection
  • certutil -store Root — trusted roots on Windows

Verify in this order

root key → signs intermediates → trust anchor in stores

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 → Root CA 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=4720

Confirmation

Confirm action

Continue?