Current location - Quotes Website - Personality signature - How does ASP.NET transmit data through SSL?
How does ASP.NET transmit data through SSL?
Set IIS to be accessible only through encrypted communication, and then use https to access related web pages.

The process of using SSL to communicate:

(1) The client initiates a dialogue with the server to negotiate the transmission encryption algorithm. For example, symmetric encryption algorithms include DES and RC5, key exchange algorithms include RSA and DH, and abstract algorithms include MD5 and SHA.

(2) The server sends the server digital certificate to the client. For example, use DES-RSA-MD5 to communicate with this combination. The client can verify the identity of the server and decide whether it is necessary to establish communication.

(3) The client sends the key of this session to the server. The client checks whether the digital certificate of the server is correct, and verifies the authenticity and validity of the server certificate through the certificate issued by CA, then generates the key of this session, encrypts it with the server's public key and sends it to the server.

(4) The server decrypts with its own private key to obtain the key of this communication.

(5) The communication between the two parties officially started.