Issue
The error occurs during yum install/update:
Could not retrieve mirrorlist http://repo.cloudlinux.com/cloudlinux/mirrorlists/cln-mirrors error was
14: Peer cert cannot be verified or peer cert invalid
Cannot find a valid baseurl for repo: cloudlinux-x86_64-server-6
Environment
- CloudLinux OS 6
Solution
Please run the following commands:
# wget --no-check-certificate https://repo.cloudlinux.com/cloudlinux/6/os/x86_64/Packages/ca-certificates-2019.2.32-65.1.el6_10.noarch.rpm
# mv /etc/pki/ca-trust /etc/pki/ca-trust_orig
# mv /etc/pki/tls /etc/pki/tls_orig
# rpm -e --nodeps ca-certificates
# rpm -ivh --force ca-certificates-2019.2.32-65.1.el6_10.noarch.rpm
# yum install openssl
Cause
Outdated ca-certificates package
Comments
0 comments
Please sign in to leave a comment.