Why would your browser trust my root CA?
Anyone can create a root certificate authority. Creating one and getting a client to trust it are different things.
About 90 seconds · First cut. My narration, diagrams, and a replay of real OpenSSL output. Captions and a checked transcript will come with the finished episode.
The practice
- Question
If anyone can create a root CA, why doesn’t my browser trust mine?
- Prediction
A certificate signed by a root should be accepted. A root is a root.
- Experiment
Create a root CA with OpenSSL, issue a server certificate from it, and connect with a client that hasn’t been told about the CA. Then add the CA to the client’s trust store and connect again.
- Explanation
The first connection fails and the second succeeds. Nothing about the certificates changed. Only the client’s list of trusted roots did.
A self-signature doesn’t establish trust. The client’s configured trust anchor does.
Same idea, three listeners
Signing a certificate yourself is easy. Trust only happens when the client already has your root in its list of anchors.
Our internal certificates work on company laptops because IT installed our root there. Customer devices don’t have it, so we need a public CA for anything customers see.
Whoever controls the trust store controls who can impersonate our services. Managing internal roots is a security decision, not just setup.