Visual Studio 2017 comes with its own version of Git. Unfortunately, it does not have SSH support, and it does not contain a root certificate for the issuer for the SSL certificate protecting our repositories. So, whenever we try to clone, pull or push, we get this error:
Error while cloning a remote repository: Git failed with a fatal error. fatal: cannot access "https: // ******** /": problem with SSL certificate: cannot obtain local issuer certificate
Visual Studio 2017 seems to come with its own version of Git. The latest version of Git, 2.12.2, fixes the problem above by adding support for searching Windows certificate stores when verifying SSL certificates. Is there a way to configure Visual Studio to use the global version of the Git version? Bonus points if the solution works in all versions of Visual Studio.
source
share