git clone过程中SSL certificate problem: self signed certificate

在我的vps上使用git出现:
git Problem with the SSL CA cert (path? access rights?)

网上大概有三种解决方案,我用了下面这种,因为我可以用ssh链接但https链接却一直鉴权失败
git config --global url."git@github.com:".insteadOf "https://github.com/" cat ~/.gitconfig [url "git@github.com:"] insteadOf = https://github.com/

其他
两种的链接:http://derekmolloy.ie/fixing-git-and-curl-certificates-problem-on-beaglebone-blac/

posted on 2018-03-27 14:16  烟野夜言  阅读(1627)  评论(0编辑  收藏  举报

导航