šŸ“˜Install AutoSSL (Let’s Encrypt) on cPanel/WHM Server

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:

  1. Log into WHM.
  2. Navigate to:
    WHM Ā» SSL/TLS Ā» Manage AutoSSL
  3. Select Let’s Encrypt as the provider.
  4. Agree to the Let’s Encrypt Terms of Service.
  5. 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.

Scroll to Top