Mac平台软件包管理器Homebrew使用curl下载文件,有些是使用https连接下载的。但由于网络环境或一些其它原因,造成https证书认证失败而无法下载。

curl 的”-k”选项可以解决这个问题,不检查ssl证书安全性而直接下载,这可能带来一些安全风险。

但你若对homebrew足够信任,那可以修改其源码给curl加上“-k”选项,方法如下:

 

Categories: 未分类

1 Comment

Leone Rolison · 06/24/2020 at 4:15 AM

Howdy! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Thank you!

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *