https握手失败原因分析

https握手失败原因分析
问题:接收对方异步通知,用jdk1.8+tomcat可以收到,用jdk1.6+weblogic10g收不到信息。

分析:
使用tcpdump抓包,Wireshark解析文件
tcpdump -i eth3 -nn -XX -vvv port 443 -w /tmp/weblogic2.cap
tcpdump -i eth3 -nn -XX -vvv port 443 -w /tmp/tomcat2.cap

tomcat日志中显示Client Hello
客户端请求的TLS协议版本是TLSv1.2
jdk1.8可以正确握手

weblogic日志中显示
客户端请求TLSv1.2
服务端只支持TLS1版本,返回
TLSv1 Record Layer: Alert (Level: Fatal, Description: Handshake Failure)

JDK支持版本

猜你喜欢

转载自blog.csdn.net/csj50/article/details/84592297