cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl doesn't accept my ssl key

From: hamelg <hamelg_at_laposte.net>
Date: Thu, 9 Jul 2009 08:17:13 +0200 (CEST)

> Message du 09/07/09 00:03
> De : "Daniel Stenberg" <daniel_at_haxx.se>

> Then a curl -V output would be suitable. And a mention of your OS/environment.

I have 2 hosts :

curl 7.19.4 (x86_64-redhat-linux-gnu) libcurl/7.19.4 NSS/3.12.3 zlib/1.2.3 libidn/1.9 libssh2/1.0
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile SSL libz

curl 7.15.1 (powerpc-ibm-aix5.3.0.0) libcurl/7.15.1 GnuTLS/1.2.9 zlib/1.1.4 libidn/0.5.20
Protocols: tftp ftp gopher telnet dict http file https ftps
Features: IDN IPv6 Largefile SSL libz

none works :(

with nss libs and nsspem.so , I get this error :
* Unable to load client key: Incorrect password
* Closing connection #0
curl: (58) Unable to load client key: Incorrect password

If I remove the password on the key, I get another error :
* NSS error -12286
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error

with gnu-tls libs, I get this error :
curl: (35) error reading X.509 key or certificate file

With openssl command, I can read certificate and key. Is there any means to get more verbose error messages ?

 Créez votre adresse électronique prenom.nom_at_laposte.net
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-07-09