问题
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