Issue
After installing CloudLinux OS 8 using the ISO image, during the yum update command, there may be errors like the following:
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
CloudLinux-8 - Gradual Rollout Slot 2 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'cloudlinux-rollout-2':
- Curl error (58): Problem with the local SSL certificate for https://rollout.cloudlinux.com/slot-2/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-2': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- CloudLinux OS 7
- CloudLinux OS 7 Hybrid
- CloudLinux OS 8
Solution
1. To solve this issue, obtain the relevant license data from CLN:
rhn_check
The output should be empty.
If needed (rhn_check may respond with an error related to the server registration), please update your server license key:
/usr/sbin/rhnreg_ks --activationkey=<activation key>
If you have IP based license, use the clnreg_ks
command:
/usr/sbin/clnreg_ks --force
2. After that, clean yum cache and do an update:
yum clean all
yum update
Cause
The issue should be corrected after a successful registration. The error is caused due to your server not having the permissions to connect to the repositories.
Comments
1 comment
Fixed error for me after clean install Cloudlinux 8.7 Shared from ISO. Thanks!
Please sign in to leave a comment.