curl-users
RE: cURL, certificates and HTTPS Post
Date: Tue, 26 Aug 2003 10:21:58 +0100
Thanks
I looked at that and saw GET and thought - perhaps that doesn't apply as I'm
POSTing.
Is there anywhere that gives simple (and I mean very simple) instructions on
how to create a PEM file?
Regards,
Richard
> -----Original Message-----
> From: Daniel Stenberg [SMTP:daniel_at_haxx.se]
> Sent: Friday, August 22, 2003 1:28 PM
> To: Curl Mailinglist
> Subject: Re: cURL, certificates and HTTPS Post
>
> 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/0
**********************************************************************************
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: 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/0
Received on 2003-08-26