I have to use a git server without proper certificates, but I don't want to have to do
env GIT_SSL_NO_VERIFY=true git command
every single time I do a git operation. But I would also like to leave SSL enabled for other git repositories. Is there a way to make this local to a single repo?
Go in Eclipse Preferences -> Team -> Git -> Configuration, and click "Add Entry..." Put "http. sslVerify" as key and "false" as value (no quotes).
Prepend GIT_SSL_NO_VERIFY=true before every git command run to skip SSL verification. This is particularly useful if you haven't checked out the repository yet. Run git config http. sslVerify false to disable SSL verification if you're working with a checked out repository already.
git config — — global http.sslVerify falseThis error occur when self-signed certificate cannot be verified. By default the git verifies the self-signed certificate every time you push or pull the fixes to and from git server.
You can do
git config http.sslVerify "false"
in your specific repo to disable SSL certificate checking for that repo only.
You can do as follows
For a single repo
git config http.sslVerify false
For all repo
git config --global http.sslVerify false
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