3 Replies Latest reply on Oct 14, 2011 9:12 AM by Kevin Beard

    [CLOSED] SunX509 TrustManagerFactory not available on AIX

    Kevin Beard Newbie

      I am trying to connect our JBoss client to a third party's web servers over https. 

       

      So far I've tried the following:

       

      1) Creating an all trusting trust manager in our code

       

      2) Creating a keystore and truststore on the AIX machine where our JBoss client runs and updating run.conf to point to these

       

      I don't get any exceptions but I am getting a null response back from the third party's web service.  But in our log files I get this message

       

      2011-10-03 11:22:30,320 ERROR [org.jboss.remoting.transport.http.HTTPClientInvoker] Error creating SSL Socket Factory for client invoker: Error initializing socket factory SSL context: SunX509 TrustManagerFactory not available

       

      I have confirmed with some debug code that the truststore algorithm is PKIX and the keystore algoritm is IbmX509.

       

      So my question is, why is JBoss/Java still lookling for SunX509?

       

      I am a complete JBoss beginner so sorry if I've got some terminology wrong

       

      Any help with be greatly appreciated.

       

      Our version of Java is:

      /usr/java6_64/bin/java -version

      java version "1.6.0"

      Java(TM) SE Runtime Environment (build pap6460sr7-20091215_02(SR7))

      IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr7-20091214_49398 (JIT enabled, AOT enabled)