错误:server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

公司周末断电,周一过来执行git clone https://github.com/xxxxx的时候报错,错误信息

fatal: unable to access 'https://github.com/xxxx/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

经过查找资料了解到github证书是时间敏感的,看了下机器时间,果然是不正确的,为2016年,修改系统时间后问题解决

date -s 2019/06/10
date -s 09:48:00
发布了41 篇原创文章 · 获赞 14 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/liurizhou/article/details/91361223