ssl - TLS V1.2的Wireshark解密

标签 ssl encryption wireshark tls1.2

我有客户端(通过 https 发送 XML)到我的 IIS 之间的流量。
我尝试使用 Wireshark 和下一个设置解密流量:
添加私钥:
enter image description here
但即使在设置后
我看到看不到解密的数据:
enter image description here
我应该做任何其他设置来查看原始数据吗?

最佳答案

很有可能是 迪菲-赫尔曼 (DH) key 交换在这里被使用。在这种情况下,Wireshark 无法使用私钥解密 SSL/TL。您可以在握手包中检查这一点。
来自 Docs :

The RSA private key file can only be used in the following
circumstances:

  • The cipher suite selected by the server is not using (EC)DHE.
  • The protocol version is SSLv3, (D)TLS 1.0-1.2. It does not work with TLS 1.3.
  • The private key matches the server certificate. It does not work with the client certificate, nor the Certificate Authority (CA)
    certificate.
  • The session has not been resumed. The handshake must include the ClientKeyExchange handshake message.

关于ssl - TLS V1.2的Wireshark解密,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62862643/

相关文章:

java - Java 中使用 CFB NoPadding 模式进行 C# AES 加密

c# - 无法使用 C# 连接到启用 OnVif 的相机

amazon-web-services - Wireshark 已安装但无法在 Amazon linux 上运行

facebook - 使用 Facebook oauth 登录,没有完整的 facebook.com 访问权限

php - 如果我通过 CURL 获得 “Unknown SSL protocol error”,请求是否通过?

encryption - 在命令行中使用 openssl 使用公钥解密

c# - 为什么网络数据包分析器无法通过 Web 客户端捕获 Http Post 请求

java - OpenLDAP 和 SSL

security - CA 公钥与服务器公钥 : what should I use to establish an HTTPS connection?

actionscript-3 - 短 "progress code"算法