【问题标题】:Hosting on Heroku not working (error setting certificate verify locations)在 Heroku 上托管不起作用(错误设置证书验证位置)
【发布时间】:2020-11-19 18:41:23
【问题描述】:

我正在学习在线课程,目前正在学习在 Heroku 上托管一个网络应用程序。我还没有真正学习过 Git(它在下一个模块中),但我正在关注讲师所做的一切,但我遇到了一个问题。我做了git push heroku master,但我现在遇到了一个错误。

我也做了git remote -v,得到了这个:

我在 Google 上搜索了这个并在过去 2 小时内试图找到解决方案,但我找不到任何东西。如果需要任何东西(屏幕截图等),我很乐意添加这些信息。

【问题讨论】:

    标签: git heroku heroku-cli


    【解决方案1】:

    检查git config --show-scope --show-origin http.sslcainfo 返回的内容(使用Git for Windows 2.27 or 2.28

    确保路径C:\xxx\Git\mingw64\ssl\certs\ca-bundle.crt确实存在,或者调整你的Git安装路径。

    【讨论】:

    • 我将C:\xxx\Git\mingw64\ssl\certs\ca-bundle.crt 路径更改为正确的路径,现在它可以工作了。非常感谢您的帮助!
    猜你喜欢
    • 2017-06-08
    • 2013-11-10
    • 2011-10-22
    • 2015-11-17
    • 2015-08-24
    • 2018-03-21
    • 2018-10-25
    • 1970-01-01
    • 2015-07-26
    相关资源
    最近更新 更多