Visual Studio 2015和Git:基础连接已关闭:无法为SSL/TLS安全通道建立信任关系
我正在使用Gitlab和Visual Studio 2015,当我将更改推送到Gitlab项目时,我收到下一个错误:Visual Studio 2015和Git:基础连接已关闭:无法为SSL/TLS安全通道建立信任关系,git,visual-studio,gitlab,Git,Visual Studio,Gitlab,我正在使用Gitlab和Visual Studio 2015,当我将更改推送到Gitlab项目时,我收到下一个错误: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Inner Exception: The remote certificate is invalid according to the validatio
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Inner Exception:
The remote certificate is invalid according to the validation procedure.
要设置我的项目,我遵循以下步骤:
git config--global http.sslVerify false
据我所知,VisualStudio使用LibGit2来处理安全检查,虽然它有一个函数来验证连接 如果我没记错的话,VisualStudio会包装连接,但是产品中没有禁用SSL安全性的设置 反而
- 为什么不修复证书呢?SSL证书不像以前那么昂贵了
- 为什么不将证书作为受信任的根证书导入Windows证书存储区,将其添加到用户的受信任证书列表中
- 如果您的证书有效,为什么不确保使用正确的远程名称