温馨提示:本文翻译自stackoverflow.com,查看原文请点击:c# - Unable to access gitlab: SSL certificate has expired
c# gitlab ssl visual-studio

c# - 无法访问gitlab:SSL证书已过期

发布于 2020-04-12 00:38:17

在Visual Studio中,我想从gitlab的存储库中提取一些更改,但这给了我一个错误: Git失败并出现致命错误。无法访问“ https://gitlab...git/ ”:SSL证书问题:证书已过期

如何生成新证书并将其添加到VS?我对gitlab没有任何经验。

查看更多

提问者
Dima Kozyr
被浏览
80
VonC 2020-02-02 18:35

Visual Studio应该使用Windows的Git

如果可以导出私有GitLab服务器的证书链,则可以将其添加到ca-bundle.crtgit文件夹中的文件中C:\path\to\Git\\usr\ssl\certs