Symptoms
When running the autossl_checkscript, you receive the following error:
CONFIG_TEXT: Certificate installation error: Can't locate object method "install_certificate" via package "Cpanel::SSL::Auto::Provider::LetsEncrypt" at /var/cpanel/perl/Cpanel/SSL/Auto/Provider/LetsEncrypt.pm line ###.
Cause
The issue is usually related to a corrupt or outdated cpanel-letsencrypt package
Resolution
Update the cpanel-letsencrypt package to resolve the error.
On cPanel version 116 and earlier
- Connect to your server using SSH as the
rootuser. Run the command to reinstall the Let's Encrypt Package:
# /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
cPanel 118+
- Connect to your server using SSH as the
rootuser. Run the command to reinstall the Let's Encrypt Package:
On Enterprise Linux servers:
# dnf install cpanel-letsencrypt-v2
On Ubuntu servers:
# apt install cpanel-letsencrypt-v2
Comments
0 comments
Article is closed for comments.