问题
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.
回答1:
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
回答2:
moved to soap ui 5.4 solved this problem for me
回答3:
I fixed it by adding this line:
-Dsoapui.https.protocols=TLSv1.1,TLSv1.2
to the file [soaphome]\bin\soap.vmoptions
Hope it helps
回答4:
SoapUI has subfolder jre
, where is its java. Java 7 was here, I replaced it with Java 8, and it solved the issue.
It is not the first time when we observed ssl problems in Java 7.
回答5:
I did try the accepted answer but it didn't work in my case.
To make it work :
- I had to add the JCE unlimited strengh policy JARs (they come in two flavors JKD8 or JDK7 so get the right one for your case) I did put them in the security folder of SoapUI.
- Next I had to specify : -Dsoapui.https.ciphers=TLS_RSA_WITH_AES_256_CBC_SHA256 in my SoapUI config file.
回答6:
Use Latest version of SOAPUI. Issue will get resolved
来源:https://stackoverflow.com/questions/35849555/soapui-handshake-failure-on-https-endpoint-service