Skip to content

Instantly share code, notes, and snippets.

@nigeljyng
Last active June 6, 2016 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nigeljyng/ab699fe6e1f3fe1e46f71bccae981033 to your computer and use it in GitHub Desktop.
Save nigeljyng/ab699fe6e1f3fe1e46f71bccae981033 to your computer and use it in GitHub Desktop.
How to fix cURL - https protocol not supported Problem on OSX

How to fix cURL - https protocol not supported Problem on OSX

Here's how I solved it. Based on http://askubuntu.com/a/683947 and http://stackoverflow.com/a/34916570

Download cUrl from http://curl.haxx.se/download.html

Then in your terminal, run these commands

$ tar -xzf curl-***.tar.gz
$ cd curl-*.*.*
$ ./configure --with---with-darwinssl
$ make
$ sudo make install

cURL should now have https support!

$ curl -V
curl 7.49.1 (x86_64-apple-darwin15.4.0) libcurl/7.49.1 OpenSSL/1.0.2h zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment