Sidebar

Remote host closed connection during handshake - Web service exception, SSL issue?

+1 vote
1.4K views
asked Apr 18, 2018 by santosh-j-3608 (130 points)

I am using Webservice sender as destination, using "IHE web service profiles"  as Connection Type.

When I try to send a message, get this below exception:

Msg 2 [path=1-2-4] - WsSender error (consecutive errors=2): com.qvera.qie.exception.NoResultsException: Error calling Web Service 'QveraXCPDEndPoint': javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at com.qvera.qie.utils.message.ChannelNodeHelper.callSOAPWebService(ChannelNodeHelper.java:1698)
    at com.qvera.qie.engine.out.WsSender.processMessage(WsSender.java:423)
    at com.qvera.qie.engine.out.WsSender.access$100(WsSender.java:47)
    at com.qvera.qie.engine.out.WsSender$1.run(WsSender.java:180)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
 

When I click "Test Connection" on the Webservice connection, I get the following error:

"Error downloading WSDL: com.qvera.qie.web.exception.GWTException: Unable to download WSDL: Remote host closed connection during handshake".

I have selected "Trust all Certificates" in SSL Trust policy, loaded the client and server certificates as well.

Attaching the screen shot for reference.

1 Answer

+1 vote
In this case it looks like the issue was that the private key needed to be installed on the client system and the full certificate chain needed to be installed on the server.
answered Apr 18, 2018 by michael-h-5027 (14,350 points)
commented Apr 19, 2018 by (100 points)
Thanks Michael for your support.
...