when I try to run the SSLClient.class found in the sample code found on mozilla.org I get:
/***************************************************/ Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load jss library or one of its dependencies at org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:1272) at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:756) at SSLClient.<init>(SSLClient.java:245) at SSLClient.main(SSLClient.java:324) bash-2.03$ /****************************************************/ This is the environment information which I believe to be relevant to the JSS-3.1.1: /****************************************************/ echo $LD_LIBRARY_PATH /home/hattons/lib:/usr/local/kde/lib:/usr/local/qt/lib:/usr/lib:/usr/local/lib:/usr/local/nss/lib:/usr/local/nspr/lib:/usr/local/jss/lib:/usr/openwin/lib bash-2.03$ ls -l /usr/local/jss/lib total 248 -rwxr-xr-x 1 root other 239192 Nov 14 13:45 libjss3.so bash-2.03$ bash-2.03$ ls -l /usr/local/nss/lib total 2056 -rwxr-xr-x 1 root other 1084088 Nov 8 22:36 libnss3.so -rwxr-xr-x 1 root other 450056 Nov 8 22:36 libnssckbi.so -rwxr-xr-x 1 root other 302176 Nov 8 22:36 libsmime3.so -rwxr-xr-x 1 root other 225608 Nov 8 22:36 libssl3.so bash-2.03$ total 1096 -rwxr-xr-x 1 root other 532572 Nov 14 14:01 libnspr4.a -rwxr-xr-x 1 root other 432368 Nov 14 14:01 libnspr4.so -rwxr-xr-x 1 root other 49068 Nov 14 14:01 libplc4.a -rwxr-xr-x 1 root other 41784 Nov 14 14:01 libplc4.so -rwxr-xr-x 1 root other 16504 Nov 14 14:01 libplds4.a -rwxr-xr-x 1 root other 18288 Nov 14 14:01 libplds4.so -rwxr-xr-x 1 root other 3112 Nov 14 14:01 libultrasparc4.so bash-2.03$ total 248 -rwxr-xr-x 1 root other 239192 Nov 14 13:45 libjss3.so bash-2.03$ bash-2.03$ echo $CLASSPATH .:/usr/local/lib/jc/jss311.jar bash-2.03$ ls -l /usr/local/lib/jc/jss311.jar -rwxr-xr-x 1 bin bin 832307 Nov 14 13:40 /usr/local/lib/jc/jss311.jar bash-2.03$ /*************************************************/ I attempted to use the command line tools provided with the NSS-3.3.1, but they do not function as described in the documentation. They don't even seem to be close to what is described in the documentation. I'm thinking the problem _might_ be related to not having a valid security module, but I have to many unknowns for me to continue to try things randomly. I'm srue this is a wonderful suite of tools, but without better documentation, it is unusable. Do I need to tell Java where to find the provider? If so, how do I do that?
