问题描述
我从各种渠道了解到,HTTPS握手是使用HTTPS最重要的部分。我在我的服务器之间内部使用POST来传递信息,并希望使用HTTPS。我想知道实际的HTTPS握手持续/保持打开多长时间?它是为我发送到服务器的每个POST重新完成的,还是生命周期是什么?
I understand from various sources that the HTTPS handshake is the heaviest part of using HTTPS. I'm using POSTs internally between my servers to communicate information and would like to use HTTPS for it. I wondered how long the actual HTTPS handshake lasts/"stays open"? Is it re-done for each POST I'm sending to a server, or what is the lifetime?
推荐答案
SSL握手仅在会话开始时完成,主要是关于生成用于加密所有后续流量的共享会话密钥。
The SSL handshake is only done at the beginning of a session and is mainly about generating a shared session key that is used to encrypt all later traffic.
您可以找到非常好的描述握手 。
You can find a very good description of the handshake here.
这篇关于什么时候进行HTTPS握手?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!