So this video explains how https works. What I don’t get is what if a hacker in the middle pretended to be the server and provided me with the box and the public key. wouldn’t he be able to decrypt the message with his private key? I’m not a tech expert, but just curious and trying to learn.
What if a hacker were to obtain the Master Key Certificate to the entire Internet? How much damage could be caused by that?
All the damage.
Which is why that cert (and its private key) are kept offline in a secure facility that takes multiple authorized people to access.
https://www.cloudflare.com/dns/dnssec/root-signing-ceremony/