curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Include CA Bundle at Build Time on Windows

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 7 Aug 2018 22:43:54 +0200 (CEST)

On Tue, 7 Aug 2018, Dillon Korman via curl-library wrote:

> I do see: --with-ca-bundle=FILE: use the specified file as CA certificate
> store. CA certificates need to be concatenated in PEM format into this file.
>
> But I believe that is for the configure script for nix systems (please
> correct me if that's wrong).

This adds a "#define CURL_CA_BUNDLE" to the full path to the ca bundle. In my
case:

   #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"

... so you can do the same from the command line even.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-07