• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic