The difference and connection between HTTP and HTTPS

HTTP (Hypertext Transfer Protocol) is a protocol used to transfer data and is commonly used for communication between web browsers and servers. HTTPS (Hypertext Transfer Protocol Secure) is a security protocol based on the HTTP protocol, which protects the security of data transmission through SSL/TLS encryption.

the difference:

  1. HTTP uses plain text to transmit data, which is less secure; while HTTPS uses SSL/TLS to encrypt data and has higher security.
  2. HTTP uses port 80 for communication by default, and HTTPS uses port 443 for communication by default.
  3. When using HTTPS, you need to purchase an SSL certificate, but HTTP does not.

connect:

HTTPS adds SSL/TLS encryption protocol to HTTP to ensure the security of data transmission. Therefore, HTTPS can be regarded as an upgrade and improvement of HTTP. When used, the data transmission format and request method of both are the same.

Source: Weidian Reading    https://www.weidianyuedu.com

Guess you like

Origin blog.csdn.net/hdxx2022/article/details/132638363