Forum Discussion

jurkech's avatar
jurkech
New Contributor
10 years ago

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

Hi,

 

I'm trying to execute some tests against RESTful API running on an https endopint. I'm using SoapUI 5.2.1

I'm always getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure no matter what I try.

So far what I did:

- downloaded endpoint certificate, created own keystore with it and set it to be used in preferences

- imported the certificate into the central java keystore (cacerts in java\lib\security)

- set SoapUI to use java 1.8 instead of stock java bundled, imported the certificate into its keystore as well

- enabled extended java debugging with javax.net.debug=all and gave logs to developers I have here, and they said it looks like the endopint expects TLSv1 but SoapUI is forcing TLSv1.2

- I added soapui.https.protocols=SSLv3,TLSv1 but to my uneducated eye it looks like communication starts with TLSv1 and then switches to TLSv1.2

I'm including two logs here - one before using the switch for TLSv1 and one after that.

I've been at this for 2 days now, any help is greatly appreciated. Thanks.

 

Roman