macos | 您所在的位置:网站首页 › Mac系统升级后证书无效 › macos |
更新到 OS X 10.9.2 后,我开始遇到 Homebrew、Textmate、RVM 和 Github 的 SSL 证书无效问题。 当我启动 abrew update时,我收到以下错误: fatal: unable to access 'https://github.com/Homebrew/homebrew/': SSL certificate problem: Invalid certificate chain Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master我可以通过在 Git 中禁用 SSL 验证来缓解一些问题。从控制台(又名外壳或终端): git config --global http.sslVerify false我很容易推荐这个,因为它违背了 SSL 的目的,但这是我发现的唯一一个在紧要关头有效的建议。 我试过rvm osx-ssl-certs update all了Already are up to date. 在 Safari 中,我访问了https://github.com并尝试手动设置证书,但 Safari 没有提供信任证书的选项。 最终,我不得不重置 Safari(Safari->Reset Safari... 菜单)。然后访问 github.com 并选择证书,然后“始终信任”这感觉不对并删除历史记录和存储的密码,但它解决了我的 SSL 验证问题。一场苦乐参半的胜利。 |
CopyRight 2018-2019 实验室设备网 版权所有 |