SoapUI handshake_failure on https endpoint service

zli picture zli · Mar 7, 2016 · Viewed 30.6k times · Source

When the project endpoint moves to https from http, I got handsshake_failure error for the request. By checking some topics, I modified SoapUI-5.2.1.vmoptions file by adding this

-Dsoapui.https.protocols=TLSv1.2

or with SSL. And restart SoapUI.

But I still get the error.

Answer

Payam picture Payam · Mar 7, 2016

This is a handshake problem, that means SoapUI doesn't understand the encrypted SSL/TLS content due to lack of certificate. To fix that, you simply need to import the certificate into your soapui's keystore. The keystore file name is "cacert" and it's usually located at sosoapui_home/jre/lob/security but you might want to have your own by pointing it directly from Preferences/SSL settings as shown in the screenshot.

You can find the instruction of importing the key in my blog

enter image description here