cURL / Mailing Lists / curl-users / Single Mail


Re: cURL / SSL problem

From: Götz Babin-Ebell <>
Date: Thu, 03 Jan 2002 19:17:46 +0100

Tom Reader wrote:
> >It might have have something to do with it, yes. I'm far from an expert on
> >this either.
> ><snip>
> >
> >You need to concatenate both your public key and the certificate into one
> >single file, and then use that with the -E option.
> ><snip>
> Thanks again for your help - this isn't my machine, so I've asked the
> administrator nicely for a copy of the public key that the certificate was
> created from (on second thoughts, while I wait for that, I'll see if I can
> get openssl to spit it out from the certificate for me - if I understand
> correctly, my certificate *is* the public key, signed by my CA).


You need the certificate and the _private_ key to do the handshake.

Best is to create a new key, get a (client) cert for it
and use that with cURL...



Goetz Babin-Ebell, TC TrustCenter AG,
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126

Received on 2002-01-03