cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: receive: Peer certificate cannot be authenticated with known CAcertificates

From: Peter Sylvester <peter.sylvester_at_edelweb.fr>
Date: Thu, 15 Jul 2010 11:01:16 +0200

On 07/15/2010 10:26 AM, Deckers, Rob wrote:
> Thanks,
>
> As described in step 3, I converted my .crt files to .pem
> with "openssl x509 -inform DES -in yourdownloaded.crt -out
> outcert.pem -text"
>
> But I do not understand how I can add both my .crt (or.pem) to de CA
> cert bundle.
>

Assuming that 'outcert.pem' contains the CA certficate that
can be used to validate a server's cert, you just use this
file with the the option CURLOPT_CAINFO
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-15