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

Reply via email to