First, the concept of HTTP and https:
HTTPS (full name: Hypertext Transfer Protocol over secure Socket layer): is a security-targeted HTTP channel, simply the security version of HTTP, that is, the SSL layer is added under HTTP, The security foundation for HTTPS is SSL, so the details of encryption require SSL.
HTTP Hypertext Transfer Protocol (Http-hypertext Transfer Protocol): a standard (TCP) for client and server-side requests and responses that transmits hypertext to a local browser from the WWW server, which can make the browser more efficient, Reduce the network transmission.
Second, the difference between HTTP and HTTPS
The data transmitted by the HTTP protocol is unencrypted, which is plaintext, so it is very unsafe to transmit private information using the HTTP protocol, so that the privacy data can be encrypted for transmission, so Netscape Designs SSL (Secure Sockets Layer) protocol is used to encrypt the data transmitted by the HTTP protocol, resulting in the creation of HTTPS.
In simple terms, the HTTPS protocol is a network protocol built by the SSL+HTTP protocol for encrypted transmission and authentication, which is more secure than the HTTP protocol.
The main differences between HTTPS and HTTP are as follows:
1, the HTTPS protocol requires a certificate to the CA, generally less free certificate, and therefore a certain cost.
2, HTTP is a Hypertext Transfer Protocol, the information is plaintext transmission, HTTPS is a secure SSL encryption Transfer protocol.
3, HTTP and HTTPS use a completely different way of connection, with the same port, the former is 80, the latter is 443.
4, the HTTP connection is very simple, is stateless; The HTTPS protocol is a network protocol built by the SSL+HTTP protocol for encrypted transmission and authentication, which is more secure than the HTTP protocol.
The difference between HTTP and HTTPS