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

Reply via email to