Local proxies and root CAs: why trusting one is risky
9 steps · about 2 h 15 min · Intermediate
- SSL/TLS Certificates essentials (guide, NetworkAcademy.io, 20 min)
It starts with what a certificate proves and how root and intermediate CAs form a chain of trust, which everything later depends on.
- How SSL/TLS certificates work (article, Worldstream, 10 min)
A second explanation of the chain of trust and of why self-signed certificates trigger browser warnings.
- Certificate Authorities Explained: How HTTPS Trust Works (article, SpeedtestHQ, 15 min)
It covers the safeguards around CAs, including Certificate Transparency logs and CAA records, so you can see what a private CA bypasses.
- Hosts (file) (reference, Wikipedia, 10 min)
It gives the history of the hosts file and shows that it can override DNS on one machine, which is also why malware targets it.
- Linux Hostname Resolution [/etc/hosts, DNS and getent] (article, GoLinuxCloud, 20 min)
It shows the lookup order, hosts file first and then DNS, and how to test which source answered.
- Proxy servers and tunneling - HTTP - MDN Web Docs (doc, MDN Web Docs, 10 min)
It introduces what proxies do to HTTP requests and how HTTPS traffic gets through them.
- CONNECT request method - HTTP - MDN Web Docs (reference, MDN Web Docs, 10 min)
It explains the CONNECT tunnel, in which an ordinary proxy blindly relays encrypted bytes and cannot read them.
- How mitmproxy works (doc, mitmproxy docs, 25 min)
It shows step by step how a proxy with its own CA can end the TLS connection, mint a certificate on the fly and re-encrypt the traffic, which puts the earlier steps together.
- mitmproxy: What It Is, How It Works and How to Detect Abuse (article, Brandefense, 15 min)
It closes on the security lesson that any device trusting a proxy's root accepts whatever that key signs, and that apps pinning certificates reject such interception.