Re: Help with an X509 certificate and cURL request
Date: Tue, 22 Jan 2008 14:01:50 +0100 (CET)
On Tue, 22 Jan 2008, thomas Armstrong wrote:
> I want to use a remote webservice (hosted at http://www.domain.com) by using
> cURL, and I was requested to "submit a X509 client certificate as part of my
> request". I use a Linux machine.
> 1) How to create my own free X509 client certificate?
If they requrie a client certificate, there's no point in you making up your
own but they should rather provide it for you. What else would be the point
with a certificate?
> 2) How to use it with cURL? Can I use this next command?
> curl -d "firstName=John&lastName=Smith" -G -v --key private.key --cert
> server.crt https://www.domain.com/WebService.asp
Yes, but you may also need to provide a keyphrase for the private key.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-01-22