cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl certificate bundle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Sep 2015 14:26:16 +0200 (CEST)

On Thu, 24 Sep 2015, Thiru balaji wrote:

> I see there is an option to provide path for certificate using
> CURLOPT_CAINFO <http://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html> and
> CURLOPT_CAPATH <http://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html>.
>
> Is there an option to provide the certificate name to be used?

Can you elaborate on what you intend to use the certificate for? When you want
to verify a peer you usually want to provide a whole set of certs so that you
can use that bundle to verify serveral remote servers.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-24