The main differences between HTTPS and HTTP are as follows:
1. The https protocol requires you to apply for a certificate from ca. Generally, there are fewer free certificates, so you need A certain fee.
2. http is a hypertext transfer protocol, and information is transmitted in plain text, while https is a secure SSL encrypted transmission protocol.
3. http and https use completely different connection methods and use different ports. The former is 80 and the latter is 443.
4. The http connection is very simple and stateless; the HTTPS protocol is a network protocol built from the SSL HTTP protocol that can perform encrypted transmission and identity authentication, and is more secure than the http protocol.
The above is the detailed content of Interview on the difference between https and http. For more information, please follow other related articles on the PHP Chinese website!