Pradnyesh Rane wrote:
Hi,

I have an existing application that stores certificates using the
older nss libraries in cert7.db format.

I am planning to migrate to the latest nss 3.7 libraries that store
certificates in cert8.db format.

You might as well jump forward to NSS 3.9, and get all the fixes that it contains.

How do I migrate my existing certificates that are stored in cert7.db
to cert8.db format?

NSS 3.7+ will do that automatically, the first time your application opens the cert DB read/write. The only issue you may need to solve is if your own application "knows" the name cert7.db.

I have seen some posts where it was mentioned that

If cert8.db does not exist but cert7.db exists, NSS >= 3.7 creates
cert8.db from the data in cert7.db and then uses cert8.db

I probably wrote that, and it's True.


How do I reproduce the above behavior? Do I have to use some tool?

Nope. It's automagic. Just drop in NSS 3.9 into your application (assuming your application doesn't have the name cert7 hard wired into it), and NSS 3.9's shared libs will do the rest.

Regards,
Pradnyesh

_______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to