curl: (60) Peer's Certificate has expired
Posted linyufeng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了curl: (60) Peer's Certificate has expired相关的知识,希望对你有一定的参考价值。
安装docker-compose出现错误,安装命令:
curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
报错信息:
curl: (60) Peer‘s Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html
原因: 虚拟机时间不准确,重新设置一下就好了
- 查看时间
[root@localhost ~]#date
Sat Sep 7 19:46:05 CST 2019 - 设置时间
[root@localhost ~]#date -s "2020-06-25 13:11:30"
Thu Jun 25 13:11:30 CST 2020 - 再次查看
[root@localhost ~]#date
Thu Jun 25 13:11:32 CST 2020
以上是关于curl: (60) Peer's Certificate has expired的主要内容,如果未能解决你的问题,请参考以下文章
错误:Symfony 1.4 prestapaypalplugin 直接和快速结帐方法中的“curl_exec error 60 Peer's Certificate issuer is not识别”
curl(56) Recv failure: Connection reset by peer
curl(60)ssl证书问题自签名证书localhost在windows
docker Mule-server curl: (56) Recv failure: Connection reset by peer