cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using default CA cert

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 May 2006 17:40:13 +0200 (CEST)

On Tue, 23 May 2006, Mark Anthon wrote:

> I read following lines from link : http://curl.haxx.se/docs/sslcerts.html

> "libcurl performs peer SSL certificate verification by default. This is done
> by installing a default CA cert bundle on 'make install' (or similar), that
> CA bundle package is used by default on operations against SSL servers."
>
> How to install the default CA cert on Windows 2000 machine. I did not
> understand the 'make install' thing mentioned above.

You get a CA cert bundle and put it somewhere you like.

> I do not want to mention the ca certficate file/path in my code (using
> CURLOPT_CAINFO). Can anybody guide me in this ?

Sure, build your own libcurl with the path of your preference built-in.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-05-24