Basic knowledge of HTTPS

Source: Internet
Author: User

1, Introduction:

HTTPS is the most common version of HTTP security. It has been widely used by all major commercial browsers and servers that provide HTTPS. HTTPS combines the HTTP protocol with a powerful set of symmetric, asymmetric, and certificate-based encryption technologies , making HTTPS not only secure, but also flexible and easy to manage on a fragmented, decentralized global internet.

HTTPS is the HTTP that is sent on the secure Transport layer. HTTPS sends an HTTP message to TCP before sending it to a security layer to encrypt it. that is, from top to bottom: Application layer (HTTP)-Security layer (SSL or TLS)-Transport layer (TCP)-Network layer (IP)-Data Link layer (network interface).

The HTTP security layer is now implemented via SSL (Secure Sockets Layer) and its modern alternative protocol, TLS (Secure Transport Layer protocol). SSL or TLS is generally used as a reference.

2. About SSL

1) The process of establishing a connection between SSL and the secure server:

  In HTTPS, the client first opens a connection to the Web server 443 port (the default). After a TCP connection is established, the client and server initialize the SSL layer, communicate the encryption parameters in binary format, and exchange the keys. After the handshake is complete, the SSL initialization is complete, and the client can send the request message to the security layer for encryption and then send it to TCP.

2) SSL Handshake

Step: Exchange Protocol version number; Select a password that is known both at both ends, authenticate the identities on both sides, and generate a temporary session key to encrypt the channel . For a simplified version of the SSL handshake process:

Resources:

"HTTP authoritative guide"

Continue to learn in ...

Basic knowledge of HTTPS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.