SSL works with browser, wget, and curl, but fails with git

前端 未结 6 1721
北海茫月
北海茫月 2021-01-31 04:23

I have a website I am using to host redmine and several git repositories

This works perfectly for http, but I can\'t clone with https, i.e.

git clone htt         


        
6条回答
  •  长情又很酷
    2021-01-31 05:20

    git uses gnutls for this stuff, which requires the CA be specified. This can be done with per-respository with:

    git config http.sslcapath 
    

    OR

    git config http.sslcainfo 
    

    You can also specify --system or --global.

提交回复
热议问题