cURL / Mailing Lists / curl-users / Single Mail

curl-users

HTTPS Post and certificates

From: Clayton, Richard <richard.clayton_at_office2office.biz>
Date: Tue, 2 Sep 2003 13:07:18 +0100

Can anyone see anything wrong with this

curl -F "fileName=@C:\file.txt" -u username:password --cert
certificate-name.com:password --cert-type pem --cacert fred.pem
"https://destination.com"

I get the same message:

curl: (58) unable to set certificate file (wrong password?)

regardless of whether fred.pem exists or not.
It is as if it is ignoring that bit of the command.

Thanks,

Richard

**********************************************************************************
This message is sent in strict confidence for the addressee only. It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
**********************************************************************************

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-02