Symmetric and asymmetric encryption; SSL; HTTPS; AJP

Source: Internet
Author: User
Tags asymmetric encryption

1. Symmetric encryption is the encryption and decryption of the time is the use of a password

2. Asymmetric encryption, there is a pair of passwords, a, a, a encryption with a B decryption, the relative use of B encryption will have to use a decryption

3. Public key and private key, this pair of passwords, casually take one to publish out, that is the public key, and the remaining one is the private key.

4. Application 1: I want to send a message to a person, I will go to get his public key encryption, after encryption can only use the private key to decrypt, because the private key in his hands, can be very good in the transmission of confidentiality.

5. Application 2: I received a message that the bank sent the bill, the bank in order not to be counterfeit information to the customer, in advance to the customer said that I sent you a message is my private key encryption, so the customer to the information will go to get the public key to decrypt, if you can untie the explanation is indeed the bank issued.

6. The most common algorithm for asymmetric encryption is the RSA algorithm, the basic theory is that two large prime numbers are easy to multiply, and it is difficult to solve the multiplication points.

The 7.SSL protocol takes advantage of the principle of public and private keys, between the TCP/IP protocol and various application layer protocols, and has a secure handshake process that provides security support for data communication.

8.HTTPS SSL layer is applied, the HTTP layer, the TCP/IP layer is added to the SSL layer. The default port is 443

9. Today in the configuration of the server.xml of Tomcat saw 8009 the configuration of this connector, with the AJP protocol. Looked at a few, roughly a portal used in conjunction with other HTTP servers. Some server static resources respond better than Tomcat, such as Apache. You can access the static resources of the Go Apache. But he does not support the Java EE, no JSP. If a user initiates a JSP request like Apache, it can use one of the tools provided by Tomcat to make an association mapping, and Apache will then send a request to Tomcat to access the JSP. This is the port of 8009. The AJP uses a long connection to make the performance higher.

Symmetric and asymmetric encryption; SSL; HTTPS; AJP

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.