Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SOAP UI - ERROR:Exception in request: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Tags:

soap

ssl

soapui

I am trying to hit the third party webservice using SOAP UI and getting below exception:

ERROR:Exception in request: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

I dont have cacert or keystore from the third party webservice but I have signature.By using signature I'm able to hit the third party webservice through my application.

How to configure this signature in SOAP UI?

like image 201
AntonyManoj Avatar asked Mar 09 '17 05:03

AntonyManoj


4 Answers

Adding below parameter to C:\Program Files\SmartBear\SoapUI-5.2.1\bin\SoapUI-5.2.1.vmoptions worked for me.

-Dsoapui.https.protocols=TLSv1.2,SSLv3

Check this link

like image 89
Manikandan S Avatar answered Sep 28 '22 20:09

Manikandan S


Quick fix: Upgrade to SoapUI version 5.4.0. This will fix the SSL handshake issue.

like image 23
Joe Avatar answered Sep 28 '22 21:09

Joe


After i put below line in file SoapUI-5.2.1.vmoptions. It worked fine for me.

File Path : SoapUI-5.2.1\bin\SoapUI-5.2.1.vmoptions

Add below Line:

-Dsoapui.https.protocols=TLSv1.2,SSLv3

like image 33
Chandrasekar Chakkaravarthi Avatar answered Sep 28 '22 20:09

Chandrasekar Chakkaravarthi


I had 5.5 SOAP UI and calling an gateway API hosted in https URL. I tried all the java versions , TLS protocol nothing worked for me.

I downloaded the certificate (for me it was truststore.jks) which I was using to connect to API , use certificate password ( used to see all the certificates in your ) and check the Check box as shown in image. I am able to make a https connection.

SOAP UI Setup

like image 27
Abhay Mishra Avatar answered Sep 28 '22 21:09

Abhay Mishra