I used Team Explorer to connect to Gitlab server which is using self-signed certificate. But Team Explorer won't allow me to do anything even though I have set http.sslverify to false.
In this post he said that "If an HTTPS URI is used for a remote, the Windows certificate store is used to validate the server’s SSL certificate."
Is there the way to disable this ssl validation?
The certificate is trusted but it's still invalid because of url mismatch and I can't do anything with theirs certificate.
Since SSL verification is a "git" thing, and Visual Studio Git extension is just a wrapper over it, you can set the git option to ignore checking ssl. Just open a command prompt and do the following:
cd c:\path\to\project\folder
git config http.sslVerify false
Then go back to visual studio and everything goes fine.
If you want this to work for all of your git projects, add "--global" option to the git command.
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