hi,

I believe you have your LD_LIBRARY_PATH incorrect.

Try getting the sample programs running first.
create the password file:

http://lxr.mozilla.org/mozilla/source/security/jss/org/mozilla/jss/tests/passwords

the set your LD_LIBRARY_PATH so it can find NSPR/NSS/JSS libraries,
and your classpath to find the JSS jar.

in a test directory create new DBs:

java org.mozilla.jss.tests.SetupDBs . passwords
then run
java org.mozilla.jss.tests.SSLClientAuth . passwords

Get this sample working, and you should be able to figure out
your issue.

-glen




Florian Bernstein wrote:
Hi

I couldn't get the CryptoManger initialized within my java project.

Everytime I call CryptoManger.initialie(firefoxDBLocation) I get a java.lang.SecurityException telling me that it is "Unable to initialize security library".

What am I doing wrong?

I have put all lib files in the LD_LIBRARY_PATH, so where did I make a misstake?



Regards Florian
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to