Hi ,
We have a java application which connects to an ssh-server and this works well when run as stand-alone but when we try to run the same from webMethods-developer as flow-service, we get the following error:
Can you please suggest/help if you have come across this before?
Thanks,
Chary
com.sshtools.j2ssh.transport.TransportProtocolCommon onMsgDisconnect
INFO: The remote computer disconnected: bad client public DH value
processcom.sshtools.j2ssh.transport.TransportProtocolException: The connection did not complete
com.sshtools.j2ssh.transport.TransportProtocolException: The connection did not complete
at com.sshtools.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(Unknown Source)
at com.sshtools.j2ssh.SshClient.connect(Unknown Source)
at
The problem lies with the SSL handshake used to exchange Diffie-Hellman or “DH” public keys. Your java service is running inside the webMehods IS JVM. That JVM needs to have access to the same trusted certs as your standalone app.
You might take a look at the OpenSSH example module that is available on Advantage in the samples and utilities area.
Mark,
Thanks a lot for the reply. How do I check which JVM , webMethods is using? I’ve checked the integration server (About: JavaHome and Java Vendor) and it is the same I test in the standalone mode.
Also, can you please let me know which openssh example module you are referring to( is this openssh example or webMethods? )
Click on the About link in IS Administrator to see which JVM vendor and version. By default, this JVM is located in the webMethods home folder. You can find the exact path by reviewing the server.bat file in the IntegrationServer\bin folder.