ssl - 试图理解 SSL 握手

标签 ssl handshake

我有两台服务器通过 SSL 进行通信。 server1 通过 SSL 启动到 server2 的 SSL 连接。服务器 1 有一个 key 大小为 1k 的 keystore ,而服务器 2 有一个 key 大小为 2k 的 keystore 。 SSL channel 会建立还是会失败?这种交换或协商在握手过程中具体发生在什么地方?

最佳答案

I have two servers communicating over SSL. server1 initiates a SSL connection to server2 over SSL.

所以在这种情况下 server1server2 的客户端。

server1 has a keystore with a keysize of 1k whereas server2 has a keystore with a keysize of 2k.

大小无关。

Will the SSL channel get established or will it fail?

仅凭这么多信息是不可能说的。当你尝试时发生了什么?重要的是 server2 在其 keystore 中有一个 key 对和一个证书,该 keystore 受 server1 的 信任库信任。

Where exactly in the handshake does this exchange or negotiation take place?

呃,握手谈判。这个问题没有意义。

关于ssl - 试图理解 SSL 握手,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23210903/

相关文章:

启用 SNI 扩展的 SSL 握手 - 服务器上的证书选择

http - 在 HTTPS Azure Web 角色上托管 WebAPI,并在 HTTPS Azure CDN 上托管 HTML Javascript?

asp.net - 在 IIS/ASP.NET 中配置 SSL

cordova - 无法使用 cordova iOS 在 iframe 中正确加载外部 URL

java - 如何在 Java 8 中禁用 TLSv1.2

clientHello 后 SSL handshake_failure

android - Ionic Android 应用程序在签名版本 apk 上没有互联网访问权限,但调试工作正常

.net - C# SerialPort DSR/DTR 和 CTS/RTS 握手

python - 谷歌翻译 SSL 握手失败

java - 通过 Java 的 SSL 套接字连接