Skip to Main Content

SSLHandshakeException while connecting to a https site

Andy DufresneMay 20 2015 — edited May 22 2015

I am getting SSLHandshakeException while connecting to a https site. The error message is

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

I have turned on debug logging for SSL but I wasn't able to understand the root cause. It seems that the java client sends the ClientHello but does not receive the ServerHello message where the server chooses the highest version of SSL and the best cipher suite that both the client and server support and sends this information to the client. Is this the root cause ? If so, how can I fix it?

The logs are pasted here - Java SSLHandshakeException Logs - Pastebin.com

Thanks !

Comments
Post Details
Added on May 20 2015
1 comment
662 views