cURL / Mailing Lists / curl-users / Single Mail


Re: Help with an X509 certificate and cURL request

From: Daniel Stenberg <>
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 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

Yes, but you may also need to provide a keyphrase for the private key.

  Commercial curl and libcurl Technical Support:
Received on 2008-01-22