api for getting mozilla db

2007-04-18 Thread Jana Nguyen
Hi, Is there an api or a way to get the mozilla cert db without declaring the absolute path of the cert db? My problem is I have to predefined the path of my mozilla db dir using pk12util. The problem is that this will not work for other user's because each person mozilla's db directory name's a

Getting cert pem format out of pkcs12?

2007-04-13 Thread Jana Nguyen
Hi, I've been using the NSS pkcs12util to get the credential out of the browser in pkcs12 format. But I now need to get the public and private key out of pkcs12 and into "PEM" format. Is this possible with mozilla tool out there? Or is it possible for NSS tool to get the credential out of the b

Re: Running certutil gave cert, but pkcs12 complains

2007-03-29 Thread Jana Nguyen
This works, thanks! Hmm, it appends the CA Organization (O) to the user common name, that's kinda odd for a nickname. On 3/28/07, Nelson Bolyard <[EMAIL PROTECTED]> wrote: > Jana Nguyen wrote: > > > Now, when I ran certutil to check my database, it showed my cred in t

Running certutil gave cert, but pkcs12 complains

2007-03-28 Thread Jana Nguyen
Jana Nguyen's Brandmail Solutions, Inc. ID u,u,u When I ran the pkcsd12util to export the credential out I get following error: C:\Program Files\nss-3.11.4\bin>pk12util.exe -o jnguyenkey -n "Jana Nguyen" -d " C:\Documents and Settings\jnguyen\Applicatio

Re: Mozilla certificate database on windows?

2007-03-28 Thread Jana Nguyen
Hi Peter, I finally ound my keys under C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\, thanks ! The issue now is that when I run the pkcs12util it keeps complaining about missing nspr4.dll and plc4.dll, etc. libraries. I can download one by one, but now sure how long this

Re: Mozilla certificate database on windows?

2007-03-28 Thread Jana Nguyen
The certutil did not work for displaying db or cert since it complains I have error on my db. Hmm, I never created a mozilla db using the certutil because I assume it was automatically generated for me when I got a cert from my CA via the mozilla browser? But when I did a search on my hard disk t

Mozilla certificate database on windows?

2007-03-28 Thread Jana Nguyen
Hi, I would like to verify where on windows is the Mozilla certificate database located at? Shouldn't there be a db file called "cert8.db and cert3.key"? I don't have these files. I got a credential in the browser issued to me by a CA. Thanks. ___ dev-

Re: getting cred(pkcs12) out of mozilla?

2007-03-28 Thread Jana Nguyen
Hi Peter, I've got NSS release installed on my windows, but when I run pk12util.exe to export the credential out of mozilla, I get following error "pk12util.exe: find user certs from nickname failed: security library: bad database" : : C:\Program Files\nss-3.11.4\bin>pk12util.exe -o jnguyen.p12 -

Re: getting cred(pkcs12) out of mozilla?

2007-03-28 Thread Jana Nguyen
Hi Peter, Thanks for the prompt response. I'm trying to download NSS for Java (JSS), but the latest version at ftp://ftp.mozilla.org/pub/mozilla.org/security/jss/releases/JSS_3_7_RTM/ only has HP-UXB platform where I wanted linux since I'm running fedora to test this out. At the readme file it

getting cred(pkcs12) out of mozilla?

2007-03-27 Thread Jana Nguyen
Hi, I'm trying to export a credential (PKCS#12) out of firefox mozilla browser. Are there api or applications that I can use to do this without having to manually export it out of the browser? I believe there is something called a pk12util that allows me to export my credential from mozilla out