curl 无法访问 https 协议

转自http://blog.mutoo.im/2013/12/curl-could-not-communicate-with-https-sites.html

 

mac升级为10.10以后,homebrew升级挂了,curl提示连接ssl失败

解决办法

 

mvim ~/.curlrc

proxy = http://127.0.0.1:1080

 

mvim ~/.gitconfig

[http]
    proxy = http://127.0.0.1:1080

先这样吧,继续考察。

posted @ 2014-12-24 18:59  自由出土文物  阅读(478)  评论(0编辑  收藏  举报