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: Help using libcurl with HTTP proxy on Android device

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 11 Apr 2023 08:42:54 +0200 (CEST)

On Mon, 10 Apr 2023, David Castillo wrote:

> From my understanding, this error happens because the Charles' root
> certificate I installed couldn't be found since curl is only looking at the
> system CA certificates stored in the "/system/etc/security/cacerts"
> directory. So, I tried to change the CURLOPT_CAPATH option to the path where
> user-installed certificates are stored (the plan was to do this only when a
> proxy is detected). I wouldn't be surprised if I got this completely wrong
> and I shouldn't be changing CURLOPT_CAPATH

Is Charles an TLS-intercepting proxy? Then it inserts its own CA cert in every
connection and yeah, then you need to trust that certy ordinary HTTPS
transfers.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-04-11