search

Home  >  Q&A  >  body text

git - Answer for yourself error CAfile: ssl/certs/ca-bundle.crt CApath: none

    fatal : unable to access 'https://***/': error ****** 
    CAfile: *****/Git/minw64/ssl/certs/ca-bundle.crt
    CApath: none



巴扎黑巴扎黑2770 days ago1103

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:27:55

    I also encountered this problem today. I tried your solution but it didn't work. The reason is that in addition to this config file, there are other configuration files covering this config file. What's crazy is that uninstalling and reinstalling git doesn't work. Can't solve the problem.
    In fact, you can use the command git config -l to list all current configurations, check whether there are any configuration errors in the sslCAInfo item, and then modify them.
    Just modify this file, C:Usersusername.gitconfig

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:27:55

    I just encountered this problem today, so I will post my solution here for reference by those who need it

    $ git config --system http.sslcainfo "**D:\Git\mingw64\ssl\certs\ca-bundle.crt**" 

    Replace the bold part with the correct configuration path

    reply
    0
  • Cancelreply