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

后端 未结 4 1602
别跟我提以往
别跟我提以往 2020-12-14 04:20

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

4条回答
  •  情歌与酒
    2020-12-14 05:08

    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
    

提交回复
热议问题