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: Connections fail on iOS with Secure Transport

From: Daniel Stenberg via curl-library <>
Date: Mon, 2 Oct 2023 23:52:18 +0200 (CEST)

On Mon, 2 Oct 2023, Andrew Patterson via curl-library wrote:

> It says in the 'Apple Platforms' section that the modern approach was to
> use Secure Transport. Should that be updated?

It actually says

   On modern Apple operating systems, curl can be built to use Apple's SSL/TLS
   implementation, Secure Transport, instead of OpenSSL.

I believe that is still accurate.

> That's odd, because I did not specify anything on iOS (in code or when
> building libcurl); I do on Android, but I have no idea where the system
> certificates are located on iOS. Do I disable that by explicitly setting
> CURLOPT_CAINFO to the empty string?

Yes, try setting it to NULL.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-10-02