How to install Let's Encrypt on cPanel/WHM

How to Install Let's Encrypt on cPanel/WHM

Let's Encrypt is a free, automated, and open Certificate Authority that provides free SSL/TLS certificates. Installing the Let's Encrypt plugin on your cPanel/WHM server allows you to issue free SSL certificates for all your hosted domains automatically.

Method 1: Using AutoSSL (Built-in, Recommended)

cPanel/WHM version 58 and above includes built-in AutoSSL with Let's Encrypt support:

  1. Log in to WHM.
  2. Navigate to SSL/TLS > Manage AutoSSL.
  3. Select "Let's Encrypt" as the provider (you may need to accept the terms of service).
  4. Click "Save".
  5. Run AutoSSL by clicking "Run AutoSSL for All Users".

Method 2: Install FleetSSL (Let's Encrypt for cPanel)

If Let's Encrypt is not available as an AutoSSL provider, install the plugin:

# Install the Let's Encrypt plugin for cPanel
/scripts/install_lets_encrypt_autossl_provider

Then follow the steps in Method 1 to enable it.

Method 3: Install Certbot via SSH

# Install Certbot
yum install certbot -y

# Issue a certificate
certbot certonly --webroot -w /home/username/public_html -d example.com -d www.example.com

# Auto-renew via cron
echo "0 0 * * * /usr/bin/certbot renew --quiet" | crontab -

Verify SSL Installation

After AutoSSL runs, verify your SSL certificates:

  1. Go to WHM > SSL/TLS > Manage SSL Hosts
  2. Check that each domain shows a valid Let's Encrypt certificate
  3. Visit your website with https:// to confirm

Automatic Renewal

AutoSSL automatically renews certificates before they expire. Let's Encrypt certificates are valid for 90 days, and cPanel's AutoSSL checks and renews them regularly.

Troubleshooting

  • "DCV failed" errors: Ensure the domain points to the server's IP address and port 80 is not blocked.
  • Rate limits: Let's Encrypt has rate limits of 50 certificates per domain per week.
  • Wildcard certificates: AutoSSL does not support wildcards — use Certbot with DNS validation for wildcards.
  • lets-encrypt, ssl, cpanel-whm, autossl, security
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

How to create API Tokens - WHM/Cpanel Tutorials

How to Create API Tokens in WHM/cPanel API Tokens in WHM and cPanel allow you to authenticate...

How to enable IONCUBE - WHM/Cpanel Tutorials

How to Enable ionCube Loader in WHM/cPanel ionCube Loader is a PHP extension required by many...

How to disable SSH Password Authorization Tweak

How to Disable SSH Password Authorization Tweak in WHM The SSH Password Authorization Tweak in...

How to install WordPress Toolkit inside cPanel/WHM

How to Install WordPress Toolkit inside cPanel/WHM The WordPress Toolkit interface allows you to...