[EMAIL PROTECTED] wrote:
> Hi,
>
> there is already a topic which deals with the problem:
> http://osdir.com/ml/mozilla.crypto/2005-07/msg00034.html
>
> Unfortunately the code doesn't work. Here's what I did:
> I used the source code glen beasley posted.
> My pkcs11.cfg looks like this:
> name=NSSSofToken
> library = c:\\Program Files\\Mozilla Firefox\\softokn3.dll
> description=NSS PKCS11 
> nssArgs="configdir='C:\\tip' certPrefix='' keyPrefix='' secmod='secmod.db' 
> flags=readOnly"
>   

/the option configdir needs to point the the directory where the databases 
exists.

I doubt your mozilla databases are in c:\\tip.

on windows in the c:\Documents and settings directory do a dir *.db /s/b and 
you should be able to find the correct location.

-glen




/

> slot=2
>
> When launching the program, I get the following exception:
> Exception in thread "main" java.security.ProviderException: Initialization 
> failed
>       at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:340)
>       at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:86)
>       at PKCS11ListCerts.main(PKCS11ListCerts.java:23)
> Caused by: java.io.IOException: Could not find resource
> c:\Program Files\Mozilla Firefox\softokn3.dll
>
> What's wrong with my configuration?
> Enzo Motta or glen beasley if you're reading this, please give me a hint.
> Thanks in advance,
> Mike
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
> _______________________________________________
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>   

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

Reply via email to