hacdias.com · 26d · discuss
The past year I’ve been working a lot with certificates and trust management, which can, sometimes, yield its own fun stories and learnings. Here’s one: say you’re given a leaf certificate and its intermediate, but not the root. Which one do you trust? Trusting the leaf may look reasonable, since that is the certificate they sign with, but it defeats the whole purpose of a trust anchor. For those who’ve worked with X.509 certificate management, you know what the problem is, and feel free to skip the whole post. However, I wanted to write a short post on why you...