curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Building cURL on Mac OSX

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 28 Mar 2017 15:24:34 -0400

On 3/28/2017 12:49 PM, Nicholas Chambers wrote:
> Hello everyone! I just built cURL this morning on my Mac (which is
> running El Capitan) from the git repo, which was successful. In the
> configure output, at the very end, I saw:
>
> curl version: 7.54.0-DEV
> Host setup: x86_64-apple-darwin15.5.0
> Install prefix: /usr/local
> Compiler: gcc
> SSL support: enabled (OpenSSL)
> SSH support: enabled (libSSH2)
> zlib support: enabled
> GSS-API support: no (--with-gssapi)
> TLS-SRP support: enabled
> resolver: default (--enable-ares / --enable-threaded-resolver)
> IPv6 support: enabled
> Unix sockets support: enabled
> IDN support: no (--with-{libidn2,winidn})
> Build libcurl: Shared=yes, Static=yes
> Built-in manual: enabled
> --libcurl option: enabled (--disable-libcurl-option)
> Verbose errors: enabled (--disable-verbose)
> SSPI support: no (--enable-sspi)
> ca cert bundle: no
> ca cert path: no
> ca fallback: no
> LDAP support: enabled (OpenLDAP)
> LDAPS support: enabled
> RTSP support: enabled
> RTMP support: no (--with-librtmp)
> metalink support: no (--with-libmetalink)
> PSL support: no (libpsl not found)
> HTTP2 support: disabled (--with-nghttp2)
> Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS
> LDAP LDAPS POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
>
>
> How can I specify the ca cert bundle and ca cert path, so that cURL
> will right away trust root authorities like Digicert, Comodo, and
> LetsEncrypt? I know there is a --cacert option, but I would prefer to
> have it use a predefined default if possible. Thank you and have a
> great day!

I think you're looking for --with-ca-bundle or --with-ca-path. For more
info run ./configure --help.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-28