Root of Trust
Summary
Trust in a certificate is inherited from the authority that signed it, and ultimately from a root certificate that the system already trusts. Most PKIs use a hierarchy: an offline root CA signs intermediate CAs, and intermediates sign end-entity certificates. Self-signed certificates have no outside party vouching for them.
In plain words
Trust starts at a root certificate that the CA signs itself. Most CAs use a hierarchy: the root signs intermediate CAs, and those sign everyday certificates. So a compromised intermediate doesn't bring the whole system down.
Detailed explanation
- Root certificate: A self-signed certificate at the top of a trust hierarchy; devices trust it because it is in their trust store.
- Trust store: The list of root certificates an operating system, browser or application trusts.
- Chain of trust: The path from an end-entity certificate through intermediates up to a trusted root.
- Intermediate CA: A CA signed by the root that issues certificates, so the root's private key can stay offline.
Trust models
- Single CA: One CA issues everything; simple, but if it is compromised the whole PKI fails.
- Hierarchical model: A root CA delegates to intermediate CAs; an intermediate can be revoked without replacing the root.
- Offline root CA: Keeping the root powered off or disconnected except when signing intermediates, to protect its private key.
- Self-signed certificate: A certificate signed by its own private key; fine for testing or internal use, but browsers warn because nobody vouches for it.
- Certificate pinning: An application accepts only a specific certificate or public key for a service, which blocks impostor certificates.
Important terms
taken from the text above- Root certificate
- A self-signed certificate at the top of a trust hierarchy; devices trust it because it is in their trust store.
- Trust store
- The list of root certificates an operating system, browser or application trusts.
- Chain of trust
- The path from an end-entity certificate through intermediates up to a trusted root.
- Intermediate CA
- A CA signed by the root that issues certificates, so the root's private key can stay offline.
- Single CA
- One CA issues everything; simple, but if it is compromised the whole PKI fails.
- Hierarchical model
- A root CA delegates to intermediate CAs; an intermediate can be revoked without replacing the root.
- Offline root CA
- Keeping the root powered off or disconnected except when signing intermediates, to protect its private key.
- Self-signed certificate
- A certificate signed by its own private key; fine for testing or internal use, but browsers warn because nobody vouches for it.
- Certificate pinning
- An application accepts only a specific certificate or public key for a service, which blocks impostor certificates.
Examples & real-world scenarios
- Root CA → intermediate CA → www.example.com (a certificate chain).
- Self-signed certificates on home routers and in test environments.
- Root keys kept offline and heavily protected.
Scenario
An intermediate CA is compromised. Because the root is kept offline and only signs intermediates, the CA revokes that intermediate and issues a new one. Certificates chained to other intermediates keep working.
Common mistakes
- Using self-signed certificates on important public services.
- Forgetting to install intermediate certificates on a server, which breaks the chain for some clients.
Practical skills
- Trace a certificate chain to its root.
What I should remember
- Root CA: The ultimate anchor of trust; its key is usually kept offline.
- Chain of trust: Each certificate is verified by the one above it up to the root.
- Intermediate CA: Issues certificates so the root key stays protected.
- Self-signed certificate: Not trusted by default because no CA vouches for it.