Git提交时发生SSL certificate problem错误的解决方法
来源:互联网 发布:java互联网轻量级开发 编辑:程序博客网 时间:2024/05/18 02:35
这两天,不知道为什么,用Git提交代码到服务器时,总出现SSL certificate problem: unable to get local issuer certificate while accessing错误。在网上找了一下,发现解决的方法有以下几个:
方法一:
如果你是用命令行提交的,可以用以下命令设置临时环境变量GIT_SSL_NO_VERIFY。
Windows下:
set GIT_SSL_NO_VERIFY=true git push
Linux下:
env GIT_SSL_NO_VERIFY=true git push
设置好之后,然后用Git提交。
当然,你也可以把GIT_SSL_NO_VERIFY设置成非临时环境变量,这样就不用每次提交都要执行上面的命令了。
方法二:
你也可以在命令行执行以下命令,之后再提交。
git config --global http.sslVerify false
参考地址:stackoverflow
http://yutuo.net/archives/2d5c6a3bcfaf69fe.html
0 0
- Git提交时发生SSL certificate problem错误的解决方法
- Git发生SSL certificate problem: certificate ha错误的解决方法
- Git 出现SSL certificate problem: self signed certificate的解决方法
- PySpider HTTP 599: SSL certificate problem错误的解决方法
- 【转帖】PySpider HTTP 599: SSL certificate problem错误的解决方法
- Linux下git错误SSL certificate problem
- 执行git命令时出现.git/': SSL certificate problem: self signed certificate的解决办法
- Git clone 时 SSL certificate 错误
- Git提交时发生unable to get local issuer certificate while accessing错误
- PHP通过cURL访问https时出现SSL certificate problem: unable to get local issuer certificate的解决方法
- PHP通过cURL访问https时出现SSL certificate problem: unable to get local issuer certificate的解决方法
- 执行Git命令时出现各种 SSL certificate problem 的解决办法
- 执行Git命令时出现各种 SSL certificate problem 的解决办法
- 执行Git命令时出现各种 SSL certificate problem 的解决办法
- 执行Git命令时出现各种 SSL certificate problem 的解决办法
- 执行Git命令时出现各种 SSL certificate problem 的解决办法
- solution for git clone SSL certificate problem
- git 提示ssl certificate problem 解决方案
- 电路板(PCB)制造商 精工价廉
- 单片机ROM,RAM和FLASH的作用
- C语言字符串操作总结大全(超详细)
- ProGuard 删除Log
- ACM-黑色帽子
- Git提交时发生SSL certificate problem错误的解决方法
- winform使用IrisSkin2换肤弹不出窗口解决方案
- git -- git命令远程仓库工作
- SDN初探–openflow实验记录(ubuntu+mininet+opendaylight)
- cocos2dx3.0后lua如何绑定自定义c++函数
- PHP之——CentOS下php安装mcrypt扩展(插曲)
- ACM-大小写互换
- HIVE 时间操作函数
- The connection to adb is down, and a severe error has occured问题的解决