Say, an attacker fakes an original server certificate by a trusted CA using a another certificate from the same CA in a Man-in-the-middle attack. Why can this be detected using subject verification on the client-side?
(I'm not asking about the general workings of the protocol, all it's mechanisms, but, in the framework of those mechanisms, and assuming a general knowledge of TLS, how subject verification specifically prevents a MitM attack, without the need to explain extraneous mechanics of TLS.)
ig.dev
, then I can just go and buy a cert from SecureCA fornot-ig.dev
. It would not get me any closer to being able to impersonate you. What I would need is your certificate (which is public anyways) and your private key (which is the really hard part).