Computer Network Review---The difference between http and https

The main differences between HTTP and HTTPS are as follows:

  1. The https protocol requires CA to apply for a certificate. Generally, there are fewer free certificates, so a certain fee is required.
  2. http is a hypertext transfer protocol, information is transmitted in plain text, and https is a secure ssl encrypted transfer protocol.
  3. HTTP and https use completely different connection methods and use different ports. The former is 80 and the latter is 443. (But it does not have to be this, this is just the default, you can set it yourself)
  4. The http connection is very simple and stateless; the HTTPS protocol is a network protocol constructed by the SSL+HTTP protocol for encrypted transmission and identity authentication, which is more secure than the http protocol.

http problem:

  1. Easy to be monitored: because it is plaintext (encrypted, only ciphertext can be obtained by monitoring)
  2. Easily disguised: unable to verify the identity of both parties (through certificate)
  3. Tampered: After the message has been tampered with, the recipient does not know (by signing)

Guess you like

Origin blog.csdn.net/why1092576787/article/details/114792114