cURL / Mailing Lists / curl-library / Single Mail


Re: Could the iOS libcurl support CURLOPT_SSLCERT from disk file

From: Nick Zitzmann <>
Date: Fri, 23 Aug 2013 13:18:33 -0600

On Aug 19, 2013, at 2:01 PM, "Xia, Bing" <> wrote:

> Thank you. It would be great if you could add it. We're currently using P12 and Apple network APIs for the client certificate and hoping to switch to libcurl for all platforms.

Okay! I've created a patch for curl that adds support for loading PKCS#12 files in the curl_darwinssl code. I tried it out with a test P12 file I made in Keychain Access, and it seems to work for me. Please try this out against the latest code in the trunk (or the 7.32.0 code; as of this writing no one has changed curl_darwinssl.c since its release) and let me know if it works for you.

Nick Zitzmann

List admin:

Received on 2013-08-23