I have tried many different searches relating to certificates but I don't get it. I don't know how to see if I have good certificates or not. This message was given after trying to push a a git commit in Fedora like this:
$ git push origin master
Is this certificate related or git related? btw ssh works...
One possibility would be the absence of Certification Authority certificates on your system.
If that is the case, you can add those as described in this answer.
This is better than ignoring said CA (env GIT_SSL_NO_VERIFY=true git clone https://github...
).
In the specific case for this OP, Brandon comments:
I am running 64 bit fedora 19 and, as
root
, I went to/etc/ssl/certs
and saw there was a makefile, so I ran it with a different serial i.e.:
$ make SERIAL=5
Tried
git
and it worked.
This works for me
git config --global http.sslCAPath /etc/pki/tls/certs
git clone <repository>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With