Intellij IDEA:存储库测试失败无法访问:错误设置证书验证位置

Intellij IDEA: Repository test failed unable to access: error setting certificate verify locations

我在 GitHub 中有新的空 public 项目,但我无法克隆它。我安装了新的 IntelliJ 2018 版本,File->New->Project From Version Control 中没有 GitHub 选项。所以我选择了 Git 选项并添加了 URL 但是当我按下 Test 按钮时它会抛出 Repository test failed unable to access: error setting certificate verify locations 错误。问题是我的第二个笔记本中有 IntelliJ 2017,File->New->Project From Version Control 中有 GitHub 选项,我可以在那里克隆项目。有什么想法吗?

该错误消息通常带有指向过时证书包文件 () 的路径。

尝试安装最新的 Git,然后重新启动 IntelliJ。

或者使用 作为解决方法。