Jana Nguyen wrote:

> > 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" :

The "Bad database" error generally means one of two things:

1) The record you asked NSS to find was not found in the database, or
2) The record you asked NSS to add to the database has the same database
"key" (index) value as another record already in the database, and adding
the new record would have created a duplicate key, so the record was not
added.

It may be (occasionally) that a record is not found because the database
has been corrupted, but the usual case is simply that the record just
doesn't exist in that database.

BTW, you should NEVER run two NSS programs at the same time on the same
database.  Doing so has a significant likelihood of corrupting your database.
That means that you should not run any NSS utility program on your browser
database at the same time as your browser is running.

> > 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.

Search your hard disk for files named cert8.db and key3.db
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to