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.