Symptoms
After uninstalling the FleetSSL cPanel plugin (formerly Let’s Encrypt for cPanel), rebuilding the Apache configuration will fail and the following error can be found in the cPanel error log.
warn [rebuildhttpdconf] Could not process template for apache2_4: undef error - Cpanel::Exception::ModuleLoadError/(XID jdq6vu) The system failed to load the module “Cpanel::SSL::Auto::Provider::FleetSSLProvider” because of an error: Can't locate Cpanel/SSL/Auto/Provider/FleetSSLProvider.pm in @INC
Description
Uninstalling the FleetSSL cPanel plugin can leave behind cruft that causes errors when the rebuildhttpdconf script runs.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
unlink /var/cpanel/perl/Cpanel/SSL/Auto/Provider/FleetSSLProvider.pm
Additional Resources
How to convert to the cPanel-provided plugin for Let's Encrypt
How to install and enable the Let's Encrypt provider for AutoSSL