Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
45 Posts
ACCEPTED ANSWER

Pinned topic Https chaining issue for connecting WebService (httpclient-https-chain)

‏2012-05-22T06:38:34Z |
Hi,

I am facing problem while calling WebService from IBM WebSpher v6.0 server.

When I treied to send request to WebService I got below exception
5/22/12 11:49:37:973 IST 0000002a ChannelFramew E CHFW0029E: Error initializing chain httpclient-https-chain:secure.eloqua.com:443:null
because of exception com.ibm.wsspi.channel.framework.exception.ChannelException: com.ibm.wsspi.channel.framework.exception.ChannelException: Invalid trust file name of null

So I login in to admin console on Application servers > server1 > Process Definition > Java Virtual Machine > Custom Properties and add the below properties

Application servers > server1 > Process Definition > Java Virtual Machine > Custom Properties

javax.net.ssl.keyStore: ${USER_INSTALL_ROOT}/etc/DummyClientKeyFile.jks
javax.net.ssl.keyStorePassword: WebAS
javax.net.ssl.trustStore: ${USER_INSTALL_ROOT}/etc/DummyClientTrustFile.jks
javax.net.ssl.trustStorePassword: WebAS

I have read from 'http://www-01.ibm.com/support/docview.wss?uid=swg21405883'

I have also add the certificate information in to DummyClientTrustFile.jks, I have read from
'http://www.albeesonline.com/blog/2008/04/17/accessing-an-https-web-service-from-was-web-client/'

after doing all such configuration i got 2nd Exception
The Transport Channel Service has started chain httpclient-https-chain:secure.eloqua.com:443:C:\Program Files\IBM\WebSphere\AppServer/profiles/default/etc/DummyClientKeyFile.jks.
CHFW0019I: The Transport Channel Service has started chain httpclient-https-chain:secure.eloqua.com:443:C:\Program Files\IBM\WebSphere\AppServer/profiles/default/etc/DummyClientKeyFile.jks.
CHFW0020I: The Transport Channel Service has stopped the Chain labeled httpclient-https-chain:secure.eloqua.com:443:C:\Program Files\IBM\WebSphere\AppServer/profiles/default/etc/DummyClientKeyFile.jks.
RequestProces W Unhandled Exception thrown: class javax.xml.soap.SOAPException

javax.xml.soap.SOAPException: javax.net.ssl.SSLException: javax.net.ssl.SSLException: Unsupported record version Unknown 111.103
please let me know if I miss any thing or I have to go in another direction
for calling SSL WebService from WEBSphere v6.0 server.

Thank in advance....