IDEA 提示 schannel: next InitializeSecurityContext failed 的解決辦法

網上不少文章說的是將 Git 的 http.sslBackend 配置修改成 opensslgit

git config --global http.sslBackend openssl

其實這個是行不通的,由於 Git 的系統配置中,該值默認就是 opensslwindows

image.png

官方建議的作法是:spa

在 IDEA 中,點擊 Help -> Find action,輸入 Registry,找到 git.use.schannel.on.windows 配置項,取消勾選該項配置便可。code

image.png

相關文章
相關標籤/搜索