curl-users
Re: HTTPS Post and certificates
Date: Tue, 02 Sep 2003 22:22:59 +0200
Hello Richard,
Clayton, Richard wrote:
> 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"
Please:
in which file is your client certificate ?
to clarify the situation:
could you change the line to:
curl -F "fileName=@C:\file.txt" -u username:password \
--cert certificate-name.com --cert-type pem \
--pass password \
--key certificate-name.com --key-type pem \
--cacert fred.pem "https://destination.com"
At the moment I'm to lazy to look in the source,
but the order of --pass and --key shouldn't matter...
BTW: pem is default,so you can omit the --*-type pem...
Bye
Goetz
-- Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de Sonninstr. 24-28, 20097 Hamburg, Germany Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature