curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl Darwin SSL Errors

From: Michael Felt <michael_at_felt.demon.nl>
Date: Tue, 14 Nov 2017 22:04:51 +0100

On 11/14/2017 9:56 PM, Kelly Graus wrote:
> Using curl_version_info, I get the following:
>
> libcurl 7.56.1
> ssl: SecureTransport
> host: x86_64-apple-darwin17.2.0
> protocols: dict, file, ftp, ftps, gopher, http, https, imap, imaps,
> pop3, pop3s, rtsp, smb, smbs, smtp, smtps, telnet, tftp
> features: IPv6, SSL, libz, NTLM, asynchronous DNS, large file,
> NTLM-WB, Unix Sockets
>
> With verbose output enabled, I see the underlying error is "SSL: can't
> load CA certificate file /etc/ssl/cert.pem.”  I’ve verified that this
> file is missing on the machines that don’t work.  I’m looking into
> where those files are supposed to be from, but if anyone knows it
> would be greatly appreciated!
When I package curl I add the argument
--with-ca-bundle=/var/ssl/cacert.pem. iirc the path /etc/ssl/cert.pem is
the default.

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