Linux证书问题:curl#60 - “The certificate issuer‘s certificate has expired

问题说明

最近在centos7上打算安装php7版本,需要下载一个外网https的yum源,结果报错如下:

  • 执行命令
rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
  • 报错
    在这里插入图片描述

问题原因

貌似是证书过期了。

解决方法

执行以下命令:

yum install ca-certificates -y
update-ca-trust extract

在这里插入图片描述

posted @ 2022-02-17 19:51  一锤子技术员  阅读(15)  评论(0编辑  收藏  举报  来源