Symptoms
When updating packages, you encounter errors similar to the following.
Error: Failed to download metadata for repo 'letsencrypt-cpanel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
failure: repodata/repomd.xml from letsencrypt-cpanel: [Error 256] No more mirrors to try.
https://r.cpanel.fleetssl.com/repodata/repomd.xml:
[Error 14] curl #6 - "Could not resolve host: r.cpanel.fleetssl.com; Name or service not known"
Description
As of March 1, 2024, FleetSSL cPanel has shut down, bringing their repository offline and preventing package managers from pulling the repomod.xml file. The third-party FleetSSL cPanel Let's Encrypt plugin must be removed and replaced with the cPanel-provided Let's Encrypt plugin.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command to uninstall the FleetSSL cPanel-provided plugin.
- CentOS 7 and CloudLinux 6/7
yum remove letsencrypt-cpanel
- CloudLinux 8/9, AlmaLinux 8/9, Rocky Linux 8/9
dnf remove letsencrypt-cpanel
- CentOS 7 and CloudLinux 6/7
- Remove the old FleetSSL repository file.
/usr/local/cpanel/scripts/autorepair disable_dead_fleetssl_repo
- Rebuild the package database.
- CentOS 7 and CloudLinux 6/7
yum clean all
yum makecache
- CloudLinux 8/9, AlmaLinux 8/9, Rocky Linux 8/9
dnf clean all
dnf makecache
- CentOS 7 and CloudLinux 6/7
- Run the following command to install the cPanel plugin.
- cPanel version 116 and earlier
/usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
- cPanel version 118+ on RHEL-based systems
dnf install cpanel-letsencrypt-v2
- cPanel version 116 and earlier
- Access WHM as the root user, and navigate to "SSL/TLS / Manage AutoSSL" to select your provider.
Comments
0 comments
Article is closed for comments.