cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl 7.21.4 with NSS

From: <valli.natarajan_at_emc.com>
Date: Fri, 18 Feb 2011 19:36:35 -0500

I just managed to build libcurl 7.21.4 with NSS version 3.12.9. My test program works fine (connects to secured appserver that is running on remote machine) only when there is no /etc/pki/nssdb directory exists in the machine. Otherwise, I'm getting error "NSS error -8187", the NSS error 8187 means SEC_ERROR_INVALID_ARGS (Security library: invalid arguments). Here is more info

Trying xx.x.xx.xx...
connected

Connected to myserver.domain.com (xx.x.xx.xx) port 9302 (#0)

Initializing NSS with certpath: /etc/pki/nssdb

Unable to initialize NSS database

NSS error -8187

Closing connection #0

Problem with the SSL CA cert (path? access rights?)

Any ideas to resolve or workaround this issue?

Thanks
Valli

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