cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Could the iOS libcurl support CURLOPT_SSLCERT from disk file

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

On Aug 19, 2013, at 2:01 PM, "Xia, Bing" <bxia_at_microstrategy.com> 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
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-08-23