Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 330
Elmi Avatar asked Nov 08 '22 22:11

Elmi


1 Answers

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.

like image 140
Steffen Ullrich Avatar answered Nov 14 '22 23:11

Steffen Ullrich