HTTPS encryption communication principle and digital certificate system

Source: Internet
Author: User

HTTPS Encrypted Communication principle:

The public key is paired, the public key is publicly available, and the private key is known.

The information encrypted with the public key can only be decrypted by the private key corresponding to it.

A to B to send data, a first with the public key of B to encrypt this piece of data, and then use their private key to the data (digital fingerprint, through the hash function generated) RSA operation to form a signature. b After receiving the data, first use their own private key to decrypt the data, and a public key to a signature verification (to solve the digital fingerprint, and the data received by the digital fingerprint contrast). This ensures that the sender cannot deny that the message has been sent, and that the message will not be tampered with during transmission.

CA Certificate:

A CA certificate is a certificate issued to a user by a CA that contains user information, a user's public key, and a CA's signature.

Online Public users trust the CA (Visa authority) and also know the CA public key (download the CA's own certificate, which contains the CA information and CA public key).

When a user wants a CA certificate, they apply to the CA. After the CA has identified the applicant, he assigns a public private key pair, binds the public key with the applicant's identity, and signs it with the CA private key, and forms a certificate to the applicant. The applicant keeps the private key on its own and is not disclosed.

The CA certificate is actually a CA-issued authentication of the user's public key.

The user receives a certificate, wants to confirm is not the CA certificate, uses the CA public key to verify the certificate's signature, validates passes, thinks that the certificate is the CA certificate, the user information and the user public key in the certificate is CA attestation, is credible.

Root certificate:

The CA's own certificate, which contains the CA's own public key. A signature that is authenticated with this public key is trusted by the user who trusts the certificate and trusts the public key in it.

This certificate is the root of the chain of trust and is self-proving.

HTTPS encryption communication principle and digital certificate system

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.