cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Dan Fandrich <dan_at_coneharvesters.com>
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: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-12