By executing the command git, for example: git clone https://github.com/curl/curl.git, I get the following error:
Cloning into 'curl'...
fatal: unable to access 'http://github.com/curl/curl.git/': SSL certificate problem: unable to get local issuer certificate
have anyone solve this? Thank you
Git not working - local issuer certificate
Git not working - local issuer certificate
DevOps Engineer. Software Developer on free time
Re: Git not working - local issuer certificate
Seems the CA certs aren't properly setup for the git installation.
I managed to find out all the CA certs are located at /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem and you just need to configure git to point to them with the following:
I managed to find out all the CA certs are located at /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem and you just need to configure git to point to them with the following:
Code: Select all
git config --system http.sslCAInfo /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem