Symptoms
Attempting to install cPanel on CloudLinux 8 servers presented the below errors:
CloudLinux-8 - Gradual Rollout Slot 1
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': C
annot download repomd.xml: Cannot download repodata/repomd.xml:
All mirrors were tried
Description
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.
Workaround
Please run the below commands to resolve the issue.
/usr/sbin/rhn_check
/usr/bin/cldetect --update-license
/usr/bin/yum clean all
/usr/bin/yum makecache