ssl 自证书 git 下载忽略验证

26 views
Skip to first unread message

liyaoshi

unread,
Mar 18, 2015, 10:58:26 PM3/18/15
to sh...@googlegroups.com
 git -c http.sslVerify=false clone https://some/code.git

依云

unread,
Mar 19, 2015, 4:05:44 AM3/19/15
to sh...@googlegroups.com
On Thu, Mar 19, 2015 at 10:58:22AM +0800, liyaoshi wrote:
> git -c http.sslVerify=false clone https://some/code.git

这个还是拿 http.sslCAInfo 指定 CA 证书比较好吧。

PS: 这个设置项可以写到全局的 git 配置文件里呢:

[http "https://some"]
sslVerify = false

--
Best regards,
lilydjwg

liyaoshi

unread,
Mar 20, 2015, 8:44:12 AM3/20/15
to sh...@googlegroups.com


--
Best regards,
lilydjwg

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/d/optout

liyaoshi

unread,
Mar 24, 2015, 12:09:05 AM3/24/15
to sh...@googlegroups.com
 git config --global http.sslVerify false

果然有黑科技存在

吴江

unread,
Mar 24, 2015, 6:10:27 AM3/24/15
to sh...@googlegroups.com
这样做起来太危险,我一般是安装 ca-certificates 然后update-ca-certificates加入需要的ssl证书

您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。

要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout



--
吴江
Reply all
Reply to author
Forward
0 new messages