我尝试了很多与证书相关的不同搜索,但我没有找到。我不知道如何查看我是否有良好的证书。此消息是在尝试像这样在 Fedora 中推送 git 提交后给出的:
$ git push origin master
这个证书相关还是git相关?顺便说一句,ssh 工作...
最佳答案
一种可能是您的系统上缺少证书颁发机构证书。
如果是这种情况,您可以按照 this answer 中的说明添加这些内容.
这比忽略上述 CA 更好(env GIT_SSL_NO_VERIFY=true git clone https://github...
)。
在此 OP 的特定情况下,Brandon comments :
I am running 64 bit fedora 19 and, as
root
, I went to/etc/ssl/certs
and saw there was a makefile, so I ran it with a different serial i.e.:
$ make SERIAL=5
Tried
git
and it worked.
关于git - 此错误消息意味着什么 : fatal: unable to access 'https:URL' : Peer's Certificate issuer is not recognized?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19461833/