错误消息“无法获取本地发行者证书”;将项目从github克隆到RStudio时 [英] error message "unable to get local issuer certificate" when cloning a project from github to RStudio
本文介绍了错误消息“无法获取本地发行者证书”;将项目从github克隆到RStudio时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图从RStudio克隆github的仓库。我已将git配置为版本控制可执行文件。
I was trying to clone a github's repo from RStudio. I have configured git as version control executable.
我收到此错误消息:
SSL证书问题:无法以获得本地发行者证书。
SSL certificate problem: unable to get local issuer certificate.
我该怎么办?
谢谢
推荐答案
使用以下步骤:
- 转到github站点 www.github.com
- 单击地址栏附近的查看网站信息锁定图标。
- 单击证书选项(确保
- 转到证书路径选项卡,双击证书路径的根图标(证书)
- 转到详细信息选项卡,并单击复制到文件按钮
- 用文件名指定完整路径,无论您要将其保存为什么(例如D:\gitCert.cer)
-
打开git bash并逐步执行以下命令,
- Go to github site "www.github.com"
- click on the Lock icon "View Site Information" near the Address bar.
- Click on the certificate option (ensure its showing valid)
- Go to Certification path tab, DOUBLE CLICK on the root icon (certificate) of the certificate path
- Go to details tab, and click on Copy to file button
- Specify a full path with file name whatever you want to save it as (Eg. D:\gitCert.cer)
Open git bash and execute following commands stepwise,
$ git config http.sslCAInfo
$ git config http.sslCAInfo
$ git config --global http.sslBackend openssl
$ git config --global http.sslBackend "openssl"
$ git config --global http.sslCAInfo D:\gitCert.cer
$ git config --global http.sslCAInfo "D:\gitCert.cer"
尝试连接
$ git push -u origin master
$ git push -u origin master
这篇关于错误消息“无法获取本地发行者证书”;将项目从github克隆到RStudio时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文