Skip to content

Instantly share code, notes, and snippets.

@andr0id1
Created July 16, 2020 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andr0id1/39ef47bb3fcfce8e640f534cb13f19d4 to your computer and use it in GitHub Desktop.
Save andr0id1/39ef47bb3fcfce8e640f534cb13f19d4 to your computer and use it in GitHub Desktop.
[git ssl verify] Use Windows SChannel with git #git
git config --global http.sslBackend schannel
#Once you have configured this, Git will use the Windows certificate store and should not require (and, in fact, should ignore) the http.sslCAInfo configuration setting.
#Beginning with Git for Windows 2.14, you can now configure Git to use SChannel, the built-in Windows networking layer. This means that it will use the Windows certificate storage mechanism and you do not need to explicitly configure the curl CA storage mechanism.
#It is now possible to switch between Secure Channel and OpenSSL for Git's HTTPS transport by setting the http.sslBackend config variable to "openssl" or "schannel"; This is now also the method used by the installer (rather than copying libcurl-4.dll files around).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment