cURL / Mailing Lists / curl-users / Single Mail


curl command - Unable to load client cert -8018

From: Enric Ballo <>
Date: Wed, 9 Oct 2013 09:02:38 +0200

I'm trying to connect to a secure webservice throught a proxy using the
curl command, but I get the follow error:

*Unable to load client cert -8018.*

Complete log:

[e-ballo_at_myserver]# curl -v -x --key ./cert.crt --cert ./cert.crt
-capath=/etc/pki/tls/certs* About to connect() to proxy
port 8080 (#0)* Trying connected* Connected to ( port 8080 (#0)* Establish HTTP proxy tunnel to> CONNECT HTTP/1.1> Host:> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu)
libcurl/7.19.7 NSS/ zlib/1.2.3 libidn/1.18 libssh2/1.4.2>
Proxy-Connection: Keep-Alive>< HTTP/1.0 200 Connection established<*
Proxy replied OK to CONNECT request* Initializing NSS with certpath:
sql:/home/e-ballo/* Unable to initialize NSS database* Initializing
NSS with certpath: none* CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none* Unable to load client cert -8018.* NSS error -8018*
Closing connection #0
curl: (58) Unable to load client cert -8018.

Any idea what this error means ? and how can I fix it ?

Thanks in advance,

Enric Ballo

List admin:
Received on 2013-10-09