cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl doesn't accept my ssl key

From: hamelg <hamelg_at_laposte.net>
Date: Wed, 8 Jul 2009 17:57:05 +0200 (CEST)

Hello,

I must get files from a ftp over ssl server.
I must use a x509 client certificate with its key.

I use the following setting :

verbose
ftp-ssl
ftp-pasv
#
user="xxxx:yyyy"
cert="cert.pem"
key="key.pem"
pass="a_password"
cacert="CAs-cert.pem

curl displays this error :
* Unable to load client key: Incorrect password
* Closing connection #0
curl: (58) Unable to load client key: Incorrect password

my key and the password are ok. I can display the key like this :
openssl rsa -noout -text -in key.pem

Any ideas ?

Thank you

 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-08