Diego Zanga wrote: > Lo > > is there a guide or a complete howto to connect > pkcs storage of firefox from java? > no, but if anybody has time to write one, please do!
many people have managed to do this by combining information from various existing documentation on applets and JSS. http://java.sun.com/applets/ http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/keystores.html You need to configure your applet so it can load nspr/nss/jss libraries, and have the correct location to the Firefox dbs. To get the configuration correct work with a small program such as listing the certificates by modifying http://mxr.mozilla.org/security/source/security/jss/org/mozilla/jss/tests/ListCACerts.java you could also choose not to use JSS and use SunPKCS11 to initialize NSS http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html your applet would have to generate a pkcs11 config file for SunPKCS11 that would specify the location of Firefox's NSS libraries and the firefox database directory. -glen > i've seen some example from this list, however > it seems none works..... (with firefox 2.0 and java > 1.6 on windows xp) > > [this obviusly means i'm not setting all things > right....] > > is there a "basic" guide or some examples about > how to do it? > > cya, thx > _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto