aspose file tools*
The moose likes Web Services and the fly likes SSL Implementation not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SSL Implementation not available" Watch "SSL Implementation not available" New topic
Author

SSL Implementation not available

Venkatesh Sandrasegaran
Greenhorn

Joined: Jun 13, 2007
Posts: 8
I am trying to post requests using apache HTTP client, to a https site. i set the system property for �javax.net.ssl.trustStore� to hold the certificate included in "cacerts" as truststore. I am trying out on a box with the below server softwares installed.

IBM MQ

IBM MQ Workflow

And got the exception

[org.apache.commons.httpclient.HttpMethodDirector] - I/O exception (java.net.SocketException) caught when processing request: SSL implementation not available

(Using http client to post request)

however, it worked in my local machine with jdk 1.4 and the server machine i am trying has jdk 1.3. i googled around and found there would be a mismatch between jsse.jar, ibmjsse.jar & j2ee.jar.(http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/Deploy__for_example__AAT_or_ANT_or_EAR_WAR_JAR_/swg21176563.html)

however, tried several ways to debug and could resolve it. any help would be greatly appriciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
What have you tried in particular?


Ping & DNS - my free Android networking tools app
Venkatesh Sandrasegaran
Greenhorn

Joined: Jun 13, 2007
Posts: 8
working conditions when invoking a https site using SSL implementation;

add the certificate for the https site to the cacerts truststore
* set the system property
System.setProperty("javax.net.ssl.trustStore","c:\\Apps\\jre\\lib\\security\\cacerts");
then invoke a https site from WSAD 5.1 - worked

* implemented the same code in a MQ & WF environment, jre 1.4 - worked

* implement the sam in MQ & WF environment jre 1.3 - not working

* explicitly add a provider to java.security file in jre 1.3, append the jsse.jar file in the path info - still didn't resolve the problem

also i am trying to upgrade the jre from 1.3 to 1.4 which would be the final step.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SSL Implementation not available