Re: NSS PKCS#11 and CAPI

2008-07-09 Thread Subrata Mazumdar
Hi Bob, here is my experience so far with the NSS PKCS#11 and CAPI. I tried out the NSS PKCS#11 DLL for CAPI with Firefox3 security device manager and I was able to load the DLL as PKCS#11 module. Last time (a few months ago) I treid with Firefox2 and it did not work. I was actually suprised t

Re: problem using the method importUsertCertificates

2008-07-09 Thread Nelson B Bolyard
Jero wrote, On 2008-07-09 07:22: > I know that you can do do that changing the contentType in a servlet to > "application/x-x509-user-cert" but I want to install more than one user > certificate (if you send a pkcs7 with several user certificates only the > first one is installed). That might

Re: PKCS#11 changes in NSS 3.12 softokn?

2008-07-09 Thread Wan-Teh Chang
On Wed, Jul 9, 2008 at 4:54 AM, Joe Orton <[EMAIL PROTECTED]> wrote: > For a test suite I'm importing a PKCS#12 cert into a fresh database as > follows: > > rm -rf nssdb > echo foobar > nssdb.pw > > ${CERTUTIL} -d nssdb -N -f nssdb.pw > ${PK12UTIL} -d nssdb -K foobar -W '' -i unclient.p12 > > a

problem using the method importUsertCertificates

2008-07-09 Thread Jero
Hi people! I'm working for a CA and I'm trying to use the method: crypto.importUserCertificates("nicknameString", "certString", forceBackup) to install a user certificates in Mozilla firefox, but it doesn't work. The error is: Error: uncaught exception: [Exception... "Component returned failur

Re: Problem using the method importUsertCertificates

2008-07-09 Thread Johnathan Nightingale
Hello Jero, For questions about the details of our crypto code, you will likely find more people able to help by posting in the mozilla.dev.tech.crypto newsgroup, instead of mozilla.dev.apps.firefox. Cheers, Johnathan On 9-Jul-08, at 6:07 AM, [EMAIL PROTECTED] wrote: > Hi folks. > > I'm wo

PKCS#11 changes in NSS 3.12 softokn?

2008-07-09 Thread Joe Orton
For a test suite I'm importing a PKCS#12 cert into a fresh database as follows: rm -rf nssdb echo foobar > nssdb.pw ${CERTUTIL} -d nssdb -N -f nssdb.pw ${PK12UTIL} -d nssdb -K foobar -W '' -i unclient.p12 and then using that database with the softokn PKCS#11 module. With NSS 3.11, doin