Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does ss generate a session key

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how ss generates session keys, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Ssl generates session keys randomly by the client and then notifies the server after encryption; ssl and its successors transport layer security is a security protocol that provides security and data integrity for network communication; TLS and SSL encrypt the network connection between the transport layer and the application layer.

Ssl generates session keys by randomly generating and encrypting the session keys by the client and notifying the server.

SSL (Secure Sockets Layer secure Sockets Protocol) and its successor Transport layer Security (Transport Layer Security,TLS) are security protocols that provide security and data integrity for network communications. TLS and SSL encrypt the network connection between the transport layer and the application layer.

The specific process of two-way authentication of SSL protocol

The ① browser sends a connection request to the security server.

The ② server sends its own certificate and information related to the certificate to the client browser.

The ③ client browser checks whether the certificate sent by the server is issued by a trusted CA center. If so, continue to execute the agreement; if not, the customer's browser gives the customer a warning message: warn the customer that the certificate is not trustworthy and ask the customer if he needs to continue.

④ then compares the messages in the certificate, such as domain name and public key, with the relevant messages just sent by the server. If so, the client browser recognizes the legal identity of the server.

The ⑤ server requires the customer to send the customer's own certificate. Upon receipt, the server validates the client's certificate and rejects the connection if it fails authentication; if it passes authentication, the server obtains the user's public key.

The ⑥ client browser tells the server the communication symmetric cryptographic scheme that it can support.

The ⑦ server chooses a password scheme with the highest degree of encryption from the password scheme sent by the client, and notifies the browser after it is encrypted with the client's public key.

For this cryptographic scheme, the ⑧ browser selects a call key, then encrypts it with the server's public key and sends it to the server.

The ⑨ server receives the message sent by the browser, decrypts it with its own private key and obtains the call key.

The next communication between the ⑩ server and the browser uses a symmetric cryptographic scheme, and the symmetric key is overencrypted.

Commonly used https is not bi-directional, there is no ⑤

Thank you for reading this article carefully. I hope the editor will share how ss generates the session key content to help everyone. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report