users@glassfish.java.net

Using JSS/NSS from inside glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Dec 2008 14:10:41 PST

I am trying to create a SSLSocket using JSS/NSS with glassfish configured in EE mode. How do I do this?

On SunAppServer7 the NSS truststore was already initialized and ready for use.

- a call to new SSLSocket(host, port) hangs forever.

- If I call CryptoManager.getInstance() I get:
org.mozilla.jss.CryptoManager$NotInitializedException
        at org.mozilla.jss.CryptoManager.getInstance(CryptoManager.java:717)

- I know how use the container default SSLSocketFactory (backed by a java keystore config/cacerts.jks). This works fine, but I need to use an NSS truststore (a technical requirement).
[Message sent by forum member 'suggarglider' (suggarglider)]

http://forums.java.net/jive/thread.jspa?messageID=322244