Wan-Teh Chang wrote:
[EMAIL PROTECTED] wrote:
Is there some place I can download a binary of certutil for windows, or is
building it the only way to get ahold of the file?  I did a search, but I
couldn't find any binary repositories for NSS.

You can find NSS source and binary releases at
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/.

For Windows, I recommend you use the WIN954.0_OPT.OBJ builds.
The latest release that has WIN954.0_OPT.OBJ is:
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_10_RTM/WIN954.0_OPT.OBJ/nss-3.10.zip

NSS depends on NSPR.  You can find NSPR source and binary
releases at
ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/.
The latest release that has WIN954.0_OPT.OBJ is:
ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6/WIN954.0_OPT.OBJ/nspr-4.6.zip

Unzip nss-3.10.zip and nspr-4.6.zip.

Copy certutil.exe (in nss-3.10\bin) and
- NSPR DLLs (in nspr-4.6\lib): nspr4.dll, plc4.dll, plds4.dll
- NSS DLLs (in nss-3.10\lib): nss3.dll, softokn3.dll, smime3.dll,
            ssl3.dll, nssckbi.dll
            freebl3.dll (in NSS 3.11 or later)
- NSS .chk files (in nss-3.10\lib): softokn3.chk
            freebl3.chk (in NSS 3.11 or later)
to the same directory.

Wan-Teh

I can't find the .chk files (although I did find the other .dll files) in the .zip archives. Are they required for correct operation, and is there an alternate location to find them? If it matters, I'm using the NSS 3.9 from the FTP server.

Right now, I've created a new DB, imported one CA certificate, then running the command:
$ ./certutil.exe -V -n "RootCA" -b 060429000000 -u V
nss-3.9\bin\certutil.exe: NSS_Initialize failed: security library: bad database.


Thank you for your help,
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to