Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switch to "Native Windows Secure Channel library" from "OpenSSL library" on Windows Git, without reinstalling?

During the installation of Git on my Windows machine, I selected "Use the OpenSSL library" for HTTPS Transport backend.

I would like to switch to "Native Windows Secure Channel library" for HTTPS Transport.

Is this possible without re-installing git on Windows?

like image 770
Saqib Ali Avatar asked Aug 17 '17 18:08

Saqib Ali


1 Answers

I found the setting for "schannel" or "openssl" with Git for Windows 2.14.2, 64 bit in file:

C:\Program Files\Git\mingw64\etc\gitconfig

Example config for OpenSSL:

[http]
sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
sslBackend = openssl

Example config for Windows native:

[http]
sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
sslBackend = schannel
like image 71
JasonS Avatar answered Sep 23 '22 21:09

JasonS