请教如何解决这个仓库的证书问题
发表于 : 2024-08-07 14:07
rsawaroha.repo配置如下:
yum list 报错如下:
Errors during downloading metadata for repository 'rsawaroha':
- Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://people.redhat.com/rsawhill/rpms ... repomd.xml [SSL certificate problem: unable to get local issuer certificate]
Error: Failed to download metadata for repo 'rsawaroha': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
直接curl https://people.redhat.com/rsawhill/rpms ... pomd.xml报错:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
我看应该是这个地址证书的问题,求教如何解决?
代码: 全选
[rsawaroha]
name=rsaw aroha rpms for Fedora/RHEL6+
baseurl=http://people.redhat.com/rsawhill/rpms
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rsaw.aroha
yum list 报错如下:
Errors during downloading metadata for repository 'rsawaroha':
- Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://people.redhat.com/rsawhill/rpms ... repomd.xml [SSL certificate problem: unable to get local issuer certificate]
Error: Failed to download metadata for repo 'rsawaroha': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
直接curl https://people.redhat.com/rsawhill/rpms ... pomd.xml报错:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
我看应该是这个地址证书的问题,求教如何解决?