curl-users
Re: cURL, certificates and HTTPS Post
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Aug 2003 14:28:17 +0200 (CEST)
Date: Fri, 22 Aug 2003 14:28:17 +0200 (CEST)
On Thu, 21 Aug 2003, Webmaster Office2Office wrote:
> I'm trying to HTTPS POST as follows:
>
> curl -k -F "fileName=@C:\testfile.txt" -u username:password
> "https://remote.site.com"
>
> The remote end has my public key What do I need to do to associate the
> certificate on my server with this post. Currently I just get sslv3 alert
> bad certificate from the server.
You're not using a certificate at all here. Try these:
-E/--cert <cert[:passwd]> Specifies your certificate file and password
--cert-type <type> Specifies certificate file type (DER/PEM/ENG)
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0Received on 2003-08-22