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: Mon, 13 Jan 2020 17:22:54 +0100 (CET)

On Mon, 13 Jan 2020, shiftag via curl-library wrote:

> So even when using standard path a static build of libcurl and openssl does
> not seem to work.

Let me just add that this isn't typical for static builds. I frequently build
with static OpenSSL and I've never seen this problem.

If I were you, I'd fire up a debugger and explore what's going on. It appears
to be the SSL_CTX_load_verify_locations() OpenSSL function call that returns
an error in your case. The question is why...

-- 
  / 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-13