SSL握手已中止-确切原因是什么? [英] SSL handshake aborted - what is the exact reason?

查看:130
本文介绍了SSL握手已中止-确切原因是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试建立HTTPS连接时,我得到了IOException:

While trying to establish a HTTPS connection, I get back an IOException:

SSL handshake aborted: ssl=0x519ea2d8: I/O error during system call, Connection reset by peer

我想这与钥匙串不完整有关-但是我如何找出导致此错误的确切原因呢?

I guess it has something to do with an incomplete keychain - but how can I find out what the exact reason is for this error?

推荐答案

对等连接重置

Connection reset by peer

这意味着服务器已关闭连接,因为它不喜欢您发送给它的内容.几乎没有什么细节可以了解实际情况,但可能是协议版本错误,密码错误等,在这种情况下,您可能会在服务器端找到更多信息.但这也可能是切断连接之间的防火墙,因为它违反了防火墙策略. 如果您有另一个可以成功连接的客户端,则对两者进行数据包捕获并进行比较.

This means that the server has closed the connection because it did not like what you have send to it. There are too few details to find out what really is going on but it might be the wrong protocol version, wrong ciphers etc in which case you might find more information on the server side. But it might also be a firewall in between cutting the connection because it violates the firewall policy. If you have another client which can successfully connect make a packet capture of both and compare.

这篇关于SSL握手已中止-确切原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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