4 ms·
That's right, but the root cert is not sent by the server (in my case). More importantly, SHA-1 isn't a problem for root certs, as their signature is not used t
by konklone 12y ago
That's right, but the root cert is not sent by the server (in my case). More importantly, SHA-1 isn't a problem for root certs, as their signature is not used to verify their integrity.
- bitJericho 12y agoThen what is the signature for?
- tbrownaw 12y agoSimplicity and uniformity? There's less chance to screw things up if the spec says that root certs should look exactly like all other certs, rather than trimming out parts that shouldn't be needed.
- sleevi 12y agoBecause it was seen as easier to use X.509 (aka a certificate) as a delivery of a Trust Anchor (specifically, a "subject name" and "public key" pair) than to invent yet another storage format. Certificate verification stops when you encounter a TA. Some libraries do the wrong thing and check that the terminal cert is self-signed, but that's not actually required (nor recommended). You just check that the previous cert is signed by the TA, which involves checking the previous cert's signature (aka the intermediate) with the trust anchor's key. That's why the trust anchor's signature is irrelevant. See RFC 6024 for a discussion of terminology and concepts.
- bitJericho 12y agoThat makes perfect sense, thanks!