visual-studio - 无法访问gitlab : SSL certificate has expired

标签 visual-studio ssl gitlab

在 Visual Studio 中,我试图从 GitLab 的存储库中提取一些更改,但它给了我一个错误:

Git failed with a fatal error.
unable to access https://gitlab...git/: SSL certificate problem: certificate has expired*


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

最佳答案

您可以在命令行中运行一个快速修复:

git config --global http.sslVerify "false"
解决方案在 the following article 中找到。 .

关于visual-studio - 无法访问gitlab : SSL certificate has expired,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60024912/

相关文章:

Gitlab CI变量,带引号的选项

c# - 将其引用添加到我的项目后无法使用 Bytescout

visual-studio - "Docker build path not found"在 docker 支持 Visual Studio 项目

python - 如何为 python 配置谷歌云平台数据丢失预防客户端库以在 SSL 代理后面工作?

ssl - 浏览器是否支持属性证书?

authentication - Gitlab Ldap 身份验证设置

visual-studio - 使用 Visual Studio 10 Express 编译 openldap

visual-studio - 从自定义项目模板执行 PowerShell 脚本

asp.net - 如何在 https ://localhost in a development environment? 上测试我的 ASP.NET 页面

unit-testing - Cypress 利用 Gitlab 变量