none wrote:

I'm trying to run p7sign on Red Hat 9 Linux, but I don't know what parameter I have to set for "keydir" parameter.

TO use the NSS command line tools with the certs in your mozilla browser, do the following steps:

1. exit the browser completely.
2. find the directory containing the files cert8.db, key3.db and secmod.db.
3. copy those 3 files to another directory.  Let's call it /tmp/dbdir
on unix or c:\temp\dbdir on windows.
4. Then add the command line argument
    -d /tmp/dbdir
or
    -d c:\temp\dbdir
to your NSS commands.

If you run the NSS command line tools and specify the mozilla directory
where those DBs exist, at the same time that mozilla is running, you will
corrupt those DB files.

Finally, p7sign is old and no longer supported.  The tool cmsutil has
replaced it.  I encourage you to use that.


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

Reply via email to