错误获取响应"javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证" [英] Error getting response “javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated”

查看:373
本文介绍了错误获取响应"javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我将SoapUI 4.5.0.提交请求到指定的端点URL时遇到错误
错误获取响应"javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证".如何解决此错误?

谁能帮我这个忙吗?
谢谢

Hi,
I am using SoapUI 4.5.0.while submitting request to specified end point URL I was getting error
Error getting response "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated".How to overcome this error?

can any one please help me out with this.
Thank you

推荐答案

如果使用上述代码创建HTTPClient,则应避免SSLPeerUnverifiedException.不安全的X509TrustManager所做的一切就是接受任何对等证书,无论它们是否可信任,这都是毫无意义的.您会看到对等方根本没有发送证书.
If you create a HTTPClient with the code above, it should avoid SSLPeerUnverifiedException. All that insecure X509TrustManager does is accept any peer certificate whether trustworthy or not, which is entirely pointless. What you are seeing is that the peer hasn''t sent a certificate at all.


这篇关于错误获取响应"javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆