cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl ES 60: Invalid certificate chain on MacOS 10.10.3 (Yosemite)

From: Volker Schmid <volker.schmid_at_regify.com>
Date: Fri, 08 May 2015 17:28:11 +0200

Hello,

not sure if this answer is correctly assigned. Sorry.

> Hi,
> This snippet from CURLOPT_CAPATH doc might be relevant:
>
> "If libcurl is built against OpenSSL, the certificate directory must be
> prepared using the openssl c_rehash utility. "
>
> HTH,
> -Vadim

I don't think that curl on MacOS (Yosemite) is compiled against OpenSSL. This is what otool is saying on my system:

otool -L /usr/bin/curl
/usr/bin/curl: /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

otool -L /usr/lib/libcurl.4.dylib
/usr/lib/libcurl.4.dylib: /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 55471.14.7)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.17.0)
/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.4.0)
/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 6.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

It works on three systems, on one it fails. I believe that c_rehash was not used on the three systems before.

Any other tests that I can do to find the reason?

Best,

Volker

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-08