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.
1 reply Latest Post - ‏2012-07-13T07:15:40Z by willey
MuhammadN2006
MuhammadN2006
1 Post
ACCEPTED ANSWER

Pinned topic SSL Connection Problem with RAD generated webservice

‏2012-05-08T18:55:08Z |
Hi,

I have two webservice clients. One of the clients is a simple commons-http based client (POSTing a SOAP string) using SSLProtocolSocketFactory pointing to the the same trust store as the other webservice client. The other webservice client was generated using RAD. This one doesn't work.

In my trust store, I am keep only CA certificates in the certificate path. I am not keeping the server certificate itself. Basically I wanted to make it look just like browser where we don't store the server certificate and only CA (Trusted root) certificates.

Both clients point to the same cert store.

The simple client works fine and connects successfully. However the RAD based webservice client doesn't connect successfully. Both clients have to go through the proxy to reach the endpoint. The following properties are set at JVM level.

https.proxyHost mycompanyproxy
https.proxyPort mycompanyproxyport
javax.net.ssl.keyStore
javax.net.ssl.keyStorePassword
javax.net.ssl.keyStoreType PKCS12
javax.net.ssl.trustStore
javax.net.ssl.trustStorePassword
javax.net.ssl.trustStoreType PKCS12
com.ibm.ssl.enableSignerExchangePrompt true

WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: WSWS3713E: Connection to the remote host ####my.company.proxy#### failed.Received the following error: javax.net.ssl.SSLException: Handshake terminated SSL engine: CLOSED
faultActor: null
faultDetail:

WSWS3713E: Connection to the remote host ####my.company.proxy#### failed.Received the following error: javax.net.ssl.SSLException: Handshake terminated SSL engine: CLOSED
at com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnection.connect(HttpOutboundChannelConnection.java:933)
at com.ibm.ws.webservices.engine.transport.http.HttpsOutboundChannelConnection.connect(HttpsOutboundChannelConnection.java:210)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:578)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:248)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:248)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:248)
Updated on 2012-07-13T07:15:40Z at 2012-07-13T07:15:40Z by willey
  • willey
    willey
    4 Posts
    ACCEPTED ANSWER

    Re: SSL Connection Problem with RAD generated webservice

    ‏2012-07-13T07:15:40Z  in response to MuhammadN2006
    did you check your ascii code correctly whether it is corrected

    Making your web access secure using SSL Certificate is a right choice and Choosing the right Certificate Authority for SSL Certificate is tough one ,here it is Comodo is the only Certificate authority which gives full support from initializing till installing your SSL Certificate.