The difference between https and http: 1. The port of https is 443, while the port of http is 80, and the connection methods of the two are different; 2. http transmission is clear text, while https is encrypted with ssl Yes, https is more secure; 3. https requires a certificate, but http does not.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
Many people always think that http is https. In fact, there is a big difference between http and https. Let’s take a look at what is the difference between https and http?
1: What is https and http
https is a secure version of http, also called hypertext secure transmission, https is a channel with encrypted transmission protocol, and SSL Provides a secure encryption basis. https is mainly used for HTTP transmission, and there is a special encryption/authentication between HTTP and TCP.
http is a common transmission protocol. On the Internet, all files must comply with this HTTP protocol. At the same time, hypertext is also a basic part of http transmission, realizing mutual requests between the client and the server.
2: What is the difference between https and http
1. Port
The port of https is 443, while the port of http is 80. Of course, the connection methods of the two are also different.
2. Transmission data
http transmission is in clear text, while https is encrypted with SSL. https is secure
3. Apply for a certificate
https transmission generally requires applying for a certificate, and applying for a certificate may require a certain fee.
And http is not required
The above is a complete introduction to the difference between https and http. If you want to know more technical articles, please pay attention to the php Chinese website.
The above is the detailed content of What is the difference between https and http. For more information, please follow other related articles on the PHP Chinese website!