Elmi
Elmi

Reputation: 6193

SSL handshake aborted - what is the exact reason?

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?

Upvotes: 5

Views: 9023

Answers (1)

Steffen Ullrich
Steffen Ullrich

Reputation: 123260

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.

Upvotes: 1

Related Questions