git Problem with the SSL CA cert (path? access rights?)
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了git Problem with the SSL CA cert (path? access rights?),小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1020字,纯文字阅读大概需要2分钟。
内容图文
问题:
[root@localhost opt]# git clone https://github.com/docker/docker.git
正克隆到 ‘docker‘...
fatal: unable to access ‘https://github.com/docker/docker.git/‘: Problem with the SSL CA cert (path? access rights?)
解决方法:
1,查看是否存在ca-bundle
.crt
,
[root@localhost opt]# ls /etc/pki/tls/certs/ca-bundle.crt
/etc/pki/tls/certs/ca-bundle.crt
2,如果存在,则可能是/etc/pki/tls/certs/ca-bundle.crt 过期。
3,查看该证书对应安装包
[root@localhost opt]# rpm -qf /etc/pki/tls/certs/ca-bundle.crt
ca-certificates-xxx.noarch
4,更新或重装ca-certificates
[root@localhost opt]# yum install ca-certificates
ca-certificates-xxx.noarch
重新git clone,OK!
参考:http://dev.webdizainers.lv/articles/red-hat-problem-with-the-ssl-ca-cert
git Problem with the SSL CA cert (path? access rights?)
标签:host hub git clone https 查看 code one 安装 str
本文系统来源:http://www.cnblogs.com/linprogram/p/6511397.html
内容总结
以上是互联网集市为您收集整理的git Problem with the SSL CA cert (path? access rights?)全部内容,希望文章能够帮你解决git Problem with the SSL CA cert (path? access rights?)所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。