Forum Discussion

Apoorva6's avatar
Apoorva6
Frequent Contributor
7 years ago

Getting SSLHandShakeException

Hi All,

 

I am getting below error when I am trying to run REST service via open source soapui 5.2.1 installed on linux server. I am trying to run this via command line as server does not have a X window. Same suite works when ran on local.

I have even added property -Dsoapui.https.protocols=TLSv1.2  to SoapUI-5.2.1.vmoptions under bin folder.

 

Also, I am not sure how to restart soapui on linux without X window. Not restarting soapUI is causing the issue ? or any other config needed ? On my local windows system, I have SoapUI 5.3.0, and same testSuite is working fine.

 

Error: 06:15:15,720 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] I/O error closing connection
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

 

My command: /home/ard/SmartBear/SoapUI-5.2.1/bin/testrunner.sh -s Regression_TestSuite /home/websphe/SmartBear/SoapUI-5.2.1/test/MY_Regression/REST_Project_Regression-soapui-project.xml

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you setup any key store or certificates in local machine and the same are missed in Linux machine?
    • nmrao's avatar
      nmrao
      Champion Level 3
      May be you can compare the soapui-settings.xml file from both machines.
  • Apoorva6's avatar
    Apoorva6
    Frequent Contributor
    I taught soapui generates new settings.xml for each run. Any idea where i can get the file? If its new each time, then how do i ensure there is a difference or not.