error: server certificate verification failed 解决方案

晚上使用更新源之后使用了git 命令,但是报错

error: server certificate verification failed

stackoverflow 上有一页专门解答:server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none ,针对不同情况,里面有很多的解决方案。

我的属于系统时间错误,和下面这个问题相同:

Another cause of this problem might be that your clock might be off. Certificates are time sensitive.

This was my problem. My university was blocking ntp packets, which was preventing my system from updating time. Once I configured the university ntp servers things were working again. Thanks for this tip! –  Kyle Mar 9 at 16:51

问题重现

****@****:~$ date -R
Sat, 18 Jan 2014 06:11:27 +0800
****@****:~$ git clone https://github.com/bugmeout/CPluslab.git
Cloning into ‘CPluslab‘...
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/bugmeout/CPluslab.git/info/refs
fatal: HTTP request failed

由于不能够和时间服务器通信,用命令修改了时间之后,一切ok。

sudo date -s ‘22:36:00 2015-06-19‘
时间: 2024-10-19 16:05:00

error: server certificate verification failed 解决方案的相关文章

server certificate verification failed. CAfile: none CRLfile: none

原文: server certificate verification failed. CAfile: none CRLfile: none 当使用命令 git pull 出现错误信息如下: server certificate verification failed. CAfile: none CRLfile: none 解决方案: git config --global http.sslverify false git config --global https.sslverify fals

Server certificate verification failed: certificat

> PROPFIND request failed on '/svn/Superscout'> PROPFIND of '/svn/Superscout': Server certificate verification > failed: certificate issued for a different hostname, issuer is not > trusted (https://XX.XX.XX.XX) First, here's how to fix the si

Git error:Host Key Verification Failed 解决方案

再重装win10后,想要重新配置一下git 和GitHub 的连接,结果配置完成后,使用ssh -T [email protected]测试,出现了Host Key Verification Failed错误.此时使用ssh的方式也无法clone了.再晚上看了许多方法,许多比较复杂,而且是在linux系统下的解决方案.最后终于在stack overflow上找到了一个简单可行的方法. ??:stack overflow 回答 (注意是高亮提示的那一条回答) 出现错误的主要问题是known_hos

Failed to connect to VMware Lookup Service……SSL certificate verification failed.

今天登陆vspher web-client时候,报错如下: Failed to connect to VMware Lookup Service https://vc-test.cebbank.com:7444/lookupservice/sdk - SSL certificate verification failed. 放狗搜了下和自己测了下,根据问题类型有如下两种解决方案,我先说下如何去获取错误的详细信息,然后再给大家分别上两个解决办法. 1.获取错误日志 VSphere服务器进入%TEM

https://IP:7444/lookupservice/sdk - SSL certificate verification failed.

问题:版本vcsa5.5,用vsphere web client登陆的时候报错:Failed to connect to VMware Lookup Service https://IP:7444/lookupservice/sdk - SSL certificate verification failed. 解决办法:登陆vcsa配置网页:默认账号密码:root/vmware 另外一个:[email protected]/vmware 登陆网址:https://<host-name>:548

svn: E230001: Server SSL certificate verification failed

TortoiseSvn是好的 命令行svn 的时候 有问题 ,也加了--no-auth-cache --non-interactive参数 svn list 地址 选下p 就好. http://stackoverflow.com/questions/3147660/server-certificate-verification-failed-issuer-is-not-trusted

Rails 之微信开发 : OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

微信公众平台,使用Ruby On Rails + Win7 在取得OpenID时,如果简单的使用http.get方法,会出现如下 SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 解决方案: def get_open_id code    url="https://api.weixin.qq.com/sns/oauth2/access_token?appi

ssh-copy-id报错: Host key verification failed

/workspace:$ ssh-copy-id [email protected]  -p 22022 /usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/local/bin/ssh-copy-id: ERROR: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ERROR: @

ssh中“Host key verification failed.“的解决方案

我们使用ssh链接linux主机时,可能出现“Host key verification failed.“的提示,ssh连接不成功.可能的提示信息如下: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT