First, the security of transmission information is different.
1, http protocol: It is a hypertext transfer protocol, and information is transmitted in clear text. If the attacker intercepts the transmission message between the Web browser and the website server, he can read the information directly.
2.https protocol: It is a secure ssl encrypted transmission protocol, which encrypts the communication between the browser and the server to ensure the security of data transmission.
Second, the connection mode is different.
1, http protocol: http connection is simple and stateless.
2.https protocol: it is a network protocol constructed by SSL+HTTP protocol, which can be used for encrypted transmission and identity authentication.
Third, the ports are different.
1, http protocol: the port used is 80.
2.https protocol: The port used is 443.
Fourth, the certificate application method is different.
1, http protocol: free application.
2.https protocol: You need to apply for a certificate from ca. Generally, there are few free certificates, and you need to pay.
Extended data
Http protocol functions:
1. supports client/server mode. (C/S mode)
2. Simple and fast: When the customer requests the service from the server, it only needs to transmit the request method and path. The commonly used request methods are GET, HEAD and POST. Each method specifies that the contact type between the client and the server is different. Because of the simplicity of HTTP protocol, the program scale of HTTP server is small, so the communication speed is very fast.
3. Flexibility: HTTP allows the transmission of any type of data object. The type of transmission is marked by the content type.
4. No connection: No connection means limiting each connection to only one request. After the server has processed the customer's request and received the customer's reply, it will disconnect. This can save transmission time.
5. Stateless: HTTP protocol is stateless. Stateless means that the protocol has no memory for transaction processing. Lack of state means that if the previous information is needed for subsequent processing, it must be retransmitted, which may lead to an increase in the amount of data transmitted per connection. On the other hand, when the server doesn't need the previous information, it responds faster.
HTTPS features:
1, advantages
Compared with http, https can provide more high-quality confidential information and ensure the security of user data. In addition, https also protects the server to a certain extent, and the use cost of malicious attacks and disguised data is greatly increased.
2. Deficiencies
The shortcomings are also obvious. First, the technical threshold of https is high. Most personal or private websites are difficult to support, and the certificates issued by CA institutions need an annual fee. In addition, the docking of Https protocol also needs additional technical support.
Second, at present, most websites do not care about the security and confidentiality of data, and the biggest advantage of https does not apply to it.
Third, https increases the burden on the server. Compared with http, it needs more resources to support, and at the same time, it also slows down the access speed of users.
Fourth, Http websites are still used on a large scale, and there is no special difference between browsers.
Baidu encyclopedia -http
Baidu encyclopedia -https