• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SSL Implementation not available

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What have you tried in particular?
 
Venkatesh Sandrasegaran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic