Analysis of the difference between http and https

HTTP  : HyperText Transfer Protocol (HyperText Transfer Protocol). It is the most widely used network protocol on the Internet, and all www files must comply with this standard. For example: www.999sjw.com is a client-side and server-side request and response standard (TCP), which is used to transfer hypertext from the www server to the local browser. It can make the browser more efficient and enable network transmission cut back. It not only ensures that the computer transfers hypertext documents correctly and quickly, but also determines which part of the transferred document and which part of the content is displayed first (such as text before graphics) and so on.

HTTPS  : Hyper Text Transfer Protocol over Secure Socket Layer. The HTTP channel that aims at security is simply a secure version of HTTP, that is, an SSL layer is added to HTTP. The security foundation of HTTPS is SSL, so SSL is required for the details of encryption.

The main difference between HTTPS and HTTP

The https protocol requires a CA to apply for a certificate. Generally, there are fewer free certificates, so a certain fee is required.

http is a hypertext transfer protocol, information is transmitted in plain text, and https is a secure ssl/tls encrypted transmission protocol.

HTTP and https use completely different connection methods. HTTP uses the most common port 80, while HTTPS uses port 443;

The http connection is very simple and stateless; the HTTPS protocol is a network protocol constructed by the SSL/TLS+HTTP protocol for encrypted transmission and identity authentication, which is more secure than the http protocol.

Guess you like

Origin blog.csdn.net/hbznd/article/details/114940595