For Programmers: Free Programming Magazines  


Home > Archive > Java Security > July 2004 > JSSE on 3rd-party Java runtime









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JSSE on 3rd-party Java runtime
Chris Gray

2004-07-01, 4:02 pm

Has anyone had any luck running JSSE 1.0.3 on something other than a SUn
JDK/JRE? I've been asked to get it running on Wonka (with BouncyCastle as
the JCE provider), and at a certain point it barfs with a wacky exception:
init keymanager of type SunX509
default context init failed: java.security.PrivilegedActionException:
java.security.NoSuchAlgorithmException: Class
com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl configured for
KeyManagerFactory not a KeyManagerFactory

That appears to say that com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl
is not a subclass of KeyManagerFactory, which SFAICS is not true.

There is no source available for JSSE, and the .jar file appears to be
obfuscated (the above exception is thrown by static method d()Lcom/sun/net
ssl/internal/ssl/SSLContextImpl; of class
com.sun.net.ssl.internal.ssl.SSLContextImpl at line 0). Anyone have a
bright idea how to proceed further?


--
Chris Gray chris@kiffer.eunet.be
/k/ Embedded Java Solutions

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com