The following error may occur when runnong “yum update” on a new installation of CloudLinux from official ISO :
CloudLinux-8 - Gradual Rollout Slot 1 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository 'cloudlinux-rollout-1': - Curl error (58): Problem with the local SSL certificate for https://rollout.cloudlinux.com/slot-1/8/x86_64/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)] Error: Failed to download metadata for repo 'cloudlinux-rollout-1': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
This usually happen under the following chain of event :
1. CloudLinux installation from official ISO ;
2. Yum update was then executed after the installation without having a licence attached to your server.
CloudLinux 8 images may contain stale data that was obtained or created without the license being fully activated. Clearing out the yum cache and ensuring the license is updated will resolve this issue.
To resolve this matter, try the following steps :
1. Make sure your CloudLinux installation is licenced
/usr/sbin/rhn_check
2. Update the licence info :
/usr/bin/cldetect --update-license
3. Clean Yum cache :
/usr/bin/yum clean all
4. Refresh Yum cache :
/usr/bin/yum makecache
It should now be fixed!