curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl Darwin SSL Errors

From: Kelly Graus <kelly.graus_at_toltech.net>
Date: Tue, 14 Nov 2017 07:11:45 -0700

Yes, that is being set (we support back to 10.9). I was also able to run it on a second machine with 10.12 with no issues, proving (I think) that it’s not strictly related to the OS version.

> On Nov 14, 2017, at 12:15 AM, Ryan Schmidt <curl_at_ryandesign.com> wrote:
>
>
>> On Nov 13, 2017, at 17:43, Kelly Graus wrote:
>>
>> I’ve been using libcurl in an OS X app for several years, linking against the system provided dynamic library. Recently we wanted to add the ability to do a multipart form post, which requires a newer version of libcurl than is provided by Apple. So I downloaded the source and compiled it using the following options:
>>
>> ./configure --prefix=/usr/local/curl --with-darwinssl --enable-static --disable-ldap --disable-ldaps
>>
>> I then link against the static library that is built, and everything works great.
>>
>> However, when I build a release and run it on a different machine, I receive the following error whenever I try to download a file using HTTPS: "Problem with the SSL CA cert (path? access rights?).”
>>
>> I’ve tried in on two test machines, both of which are running slightly older versions of OS X than what I used to compile with (10.11 and 10.12, where I’m using 10.13). I don’t have another 10.13 machine right now to test if this is related to the OS version.
>>
>> Any ideas would be greatly appreciated!
>
> Are you remembering, at build time, to set the MACOSX_DEPLOYMENT_TARGET environment variable to the oldest version of macOS that you want it to run on?
>
>
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-14