However, these is still a flaw in this system alone. During the initial exchange, an attacker could intercept the server's public key, and send his own. The client would never know, but the attacker has essentially tapped into the entire exchange. To deal with this issue, servers using HTTPS have their public keys indexed by certificate authorities. When a client attempts to visit a site using HTTPS, the client checks the supplied public key against the one on file with a certificate authority. If they match, the process continues and the key as saved on the client's device for future use. If not, the user is shown a security warning. An increasing number of browsers even block access altogether in case of a supplied key/certificate mismatch.<ref>http://www.helpwithpcs.com/jargon/http.htm</ref><br /> | However, these is still a flaw in this system alone. During the initial exchange, an attacker could intercept the server's public key, and send his own. The client would never know, but the attacker has essentially tapped into the entire exchange. To deal with this issue, servers using HTTPS have their public keys indexed by certificate authorities. When a client attempts to visit a site using HTTPS, the client checks the supplied public key against the one on file with a certificate authority. If they match, the process continues and the key as saved on the client's device for future use. If not, the user is shown a security warning. An increasing number of browsers even block access altogether in case of a supplied key/certificate mismatch.<ref>http://www.helpwithpcs.com/jargon/http.htm</ref><br /> |