我在Mac OS X 10.11.2上使用终端,并且无法处理任何https请求。我总是收到以下错误:
curl: (1) Protocol "https" not supported or disabled in libcurl
我尝试过这个,但是出现了“错误的目录”提示:
./configure --with-ssl=/usr/local/ssl
任何建议都将有所帮助。
编辑:
这是当我尝试使用ssl安装时遇到的错误:
configure: error: OpenSSL libs and/or directories were not found where specified!
解决方案:
对于 Mac OS X 10.6 或更高版本,请使用以下内容启用 SSL:
./configure --with-darwinssl
curl --ssl
吗? - danielmhanovercurl -V
将列出支持的协议(除了版本号)。 - Daryl Spitzer