SSL certificate problem: unable to get local issuer certificate in git [duplicate]

泪湿孤枕 提交于 2021-02-08 11:48:19

问题


I have a problem when pushing git. this error message shows up:

SSL certificate problem: unable to get local issuer certificate

回答1:


There are several ways this issue has been resolved previously:

A. Ensure the root cert is added to git.exe's certificate store as discussed here.

B. Tell Git where to find the CA bundle by running:

git config --system http.sslCAPath /absolute/path/to/git/certificates or copying the CA bundle to the /bin directory and adding the following to the gitconfig file:

sslCAinfo = /bin/curl-ca-bundle.crt

C. Reinstalling Git.

D. Ensuring that the complete CA is present, including the root cert.



来源:https://stackoverflow.com/questions/53210531/ssl-certificate-problem-unable-to-get-local-issuer-certificate-in-git

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!