This guide explains how to install and enable the Letās Encrypt AutoSSL provider on a cPanel/WHM server, as well as how to ensure your server hostname has a valid SSL certificate.
ā Step 1: Install Letās Encrypt AutoSSL Provider
Run the following command via SSH as root:
/scripts/install_lets_encrypt_autossl_provider
This will install Letās Encrypt as a supported AutoSSL provider in WHM.
ā Step 2: Enable Letās Encrypt in WHM
After installation:
- Log into WHM.
- Navigate to:
WHM Ā» SSL/TLS Ā» Manage AutoSSL - Select Letās Encrypt as the provider.
- Agree to the Letās Encrypt Terms of Service.
- Click Save.
ā Step 3: Issue SSL for Hostname (cPanel-signed)
To ensure the server hostname has a valid cPanel-signed SSL certificate, run:
/usr/local/cpanel/bin/checkallsslcerts
This command will check and install a valid certificate for your hostname if available.
š Optional: Run AutoSSL Immediately
To force AutoSSL to run for all accounts immediately:
/usr/local/cpanel/bin/autossl_check --all
ā Done
Your server should now be fully set up to use Letās Encrypt for AutoSSL, and your hostname SSL certificate will be automatically managed.