I recently built NSS 3.12.5/NSPR4.8.2 and JSS 4.3.1 on a RHEL4.8 system (SUN JDK 1.6u18). certutil works fine with -d sql:., but JSS tosses an exception when I try to initialize pointing to a (freshly created with certutil) SQLite DB whereas it will initialize with the legacy db format.

Exception in thread "main" java.lang.SecurityException: Unable to initialize security library
        at org.mozilla.jss.CryptoManager.initializeAllNative(Native Method)
        at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:919)
        at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:885)
        at jsstest.Main.main(Main.java:21)
Java Result: 1

I thought an issue with SQLite support, but certutil can create and access those types of DBs so it appears ok from the NSS side. *shrug*

Dave
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to