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: Wed, 12 Apr 2023 15:05:18 +0200 (CEST)

On Tue, 11 Apr 2023, David Castillo via curl-library wrote:

> I will take a look at this link you shared and see if I can figure out how
> to read all certs, convert them and store it in one location. Or maybe I can
> use the callback that Henrik shared previously (
> https://curl.se/libcurl/c/CURLOPT_SSL_CTX_FUNCTION.html), seems like if I
> use this one I would need to only do the conversion step.

A CA cert in a PEM file is just a text file. Surely you can put a text file in
your Android file system and tell your application's libcurl to use that file
as a CA cert?

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