cURL / Mailing Lists / curl-library / Single Mail


libcurl 7.21.4 with NSS

From: <>
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 to (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?


List admin:
Received on 2011-02-19