美文网首页
TortoiseGit 访问https远程仓库,上报SSL证书错

TortoiseGit 访问https远程仓库,上报SSL证书错

作者: Aubin | 来源:发表于2018-08-16 10:08 被阅读280次

    报错

    在使用TortoiseGit时,clone自己搭建的gitlab报如错SSL certificate problem: self signed certificate

    image

    原因:自行搭建的gitlab配置了https,但是服务器的SSL证书是自签名,未经过可信CA签署

    配置TortoiseGit忽略SSL证书验证

    TortoiseGit -> Setting --> Edit global .gitconfig 添加如下配置:

    [http]
    sslVerify = false
    

    TortoiseGit-->设置

    image

    编辑全局配置

    image

    添加参数

    image

    再次clone问题解决

    image

    Linux 下 git配置忽略SSL验证

    git config --system http.sslverify false
    

    相关文章

      网友评论

          本文标题:TortoiseGit 访问https远程仓库,上报SSL证书错

          本文链接:https://www.haomeiwen.com/subject/igdnbftx.html