cURL / Mailing Lists / curl-users / Single Mail


Re: Can I make a specific certificate trusted (permanently) without trusting the CA?

From: Dan Fandrich <>
Date: Sat, 12 Oct 2013 18:30:43 +0200

On Sat, Oct 12, 2013 at 05:01:14PM +0200, Johan Johansson wrote:
> I am using an application that under the hood uses curl. I would like
> to be able to use https urls in this application, but it uses a site
> with a certificate from a CA that is not in the CA bundle - and for
> good reason. I do however trust this particular site (certificate). Is
> there a way to make the site certificate trusted (and only the site
> certificate)?

You should be able to pass in the certificate with --cacert

>>> Dan
List admin:
Received on 2013-10-12