在线安装TiUP失败。报证书过期。

curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh

curl: (60) Peer’s Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a “bundle”
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn’t adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you’d like to turn off curl’s verification of the certificate, use
the -k (or --insecure) option.

以上是报错的信息。请帮忙看看是什么问题。谢谢!

测试并为复现此问题。
请确认您的系统是否正常 譬如使用 cURL 下载其他 shell 脚本

您好!问题解决了。是因为服务器时间不对导致的证书错误。修正服务器时间就可以了。多谢支持!

感谢反馈,如果有其他的新的问题,麻烦创建新的帖子。

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。