Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 由于SSL证书问题,无法通过浏览器或控制台访问Github_Macos_Git_Ssl - Fatal编程技术网

Macos 由于SSL证书问题,无法通过浏览器或控制台访问Github

Macos 由于SSL证书问题,无法通过浏览器或控制台访问Github,macos,git,ssl,Macos,Git,Ssl,在尝试克隆repo时,突然出现以下错误 git clone https://github.com/repo/xxx.git Cloning into 'hits'... fatal: unable to access 'https://github.com/repo/xx.git/': SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERV

在尝试克隆repo时,突然出现以下错误

git clone https://github.com/repo/xxx.git
Cloning into 'hits'...
fatal: unable to access 'https://github.com/repo/xx.git/': SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
我在Chrome浏览器上访问时也遇到SSL错误

这是我在获取证书详细信息时得到的信息


我正在使用10.6 OSX Leopard

最终解决了这个问题。我从DigiCert网站下载了我所需的证书,并安装在
KeyChain
login
部分,DigiCert证书已过期。这些说明将其固定在OSX上(取自)

  • 启动钥匙链访问
    • ⌘-空间
    • 键入“钥匙链访问”
    • 回击
    • 列表项
  • 从“查看”菜单中选择“显示过期证书”
  • 单击“钥匙链”下左上角的“登录”部分
  • RHS上的Order by Expires列
  • 在RHS上查找过期的DigiCert证书。它上面会有一个红色的X,有效期是7月26日(或“今天”)
  • 右键单击证书并选择“删除DigiCert…”

  • 您可能需要关闭和打开Chrome才能使其重新工作。

    我这里也有同样的问题。我可以使用safari浏览github.com,它加载页面时没有任何错误,但当我仔细查看证书时,它在那里出现了相同的错误:“此证书的颁发者无效”。另外,我想知道为什么safari在证书无效的情况下没有以任何方式警告我。@dsomnus我最担心的是我不能再使用github了SSL@volatil3我在下面添加了一些对我有用的说明作为答案。@3您能把我的答案标记为已接受吗?人们似乎认为这对他们有效。谢谢!:)这是正确的答案。这里有更多信息,来自DigiCert自己。数周来我一直在寻找这个解决方案——DigiCert问题影响了我系统中的许多事情,包括Git子模块。我错误地指责约塞米蒂贝塔。