且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

javax.net.ssl.SSLPeerUnverifiedException:使用JMeter进行负载测试时,对等方未通过身份验证

更新时间:2022-03-04 21:23:31

在您发表最后评论后,我设法重现了证书与您的主机不匹配以及证书与您的主机不匹配的问题.

After your last comment, I managed to reproduce issue with certificate not matching your host AND with the one matching your host.

似乎您正面临Java 6中的错误. 确实,我重现了JDK6的问题,但没有重现JMeter 2.7的JDK7.

It seems you are facing a bug in Java 6. Indeed I reproduce issue with JDK6 but not in JDK7 with JMeter 2.7.

要记录此内容,我在这里打开了一个错误:

To record this I opened bug here:

在这里,Oleg给了我有关JDK7的提示:

And here and Oleg gave me the hint about JDK7 :

进一步分析您的配置,它可能来自您的自定义tomcat7配置:

Analysing further your configuration it might be coming from your custom tomcat7 config:

SSLCipherSuite="ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH"
SSLHonorCipherOrder="true"

也许您可以尝试进行更改,但是无论如何它都可以与JDK7一起使用,因此您可以找到解决方案.

Maybe you could try a change, but anyway it works with JDK7 so you have your solution.

非常感谢提出这个可公开访问的URL来测试问题.

Thanks very much for proposing this publicly available URL to test issue.

谢谢