curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 11 Jan 2020 22:32:14 +0100 (CET)

On Sat, 11 Jan 2020, shiftag via curl-library wrote:

> So it appears the issue is not related to the compilation. The normal
> behavior of libcurl is checking /etc/ssl/certs
>,so I rebuild the content
> of that directory with .crt files and the symbolink link to .pem with the
> symbolink link to the hash (the one generated by c_rehash command).

I'd recommend you rather use the configure option --with-ca-bundle=FILE or
--with-ca-path=DIRECTORY instead and point out exactly the file and/or path
you want your build to use.

Or set it at run-time.

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-01-11