cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl 7.21.4 with NSS

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sat, 19 Feb 2011 21:09:11 +0100

On Saturday 19 February 2011 20:32:57 valli.natarajan_at_emc.com wrote:
> I have been trying with NSS 3.12.9 and curl 7.21.4 on RedHat Linux
> 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686 i386
> GNU/Linux
>
> The directory /etc/pki/nssdb contains 3 db files cert8.db, key3.db and
> secmod.db.

Then you have either corrupted NSS database, or the files are just
incompatible with the version of NSS libraries you are using. Is the
certutil tool happy with that database?

certutil -L -d /etc/pki/nssdb

> Yes I've looked into the code. Is there a way to resolve/workaround 8187
> error happens when the /etc/pki/nssdb exists?

Yes, just create an empty one and pass its location to libcurl via SSL_DIR.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-19