DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Updated on

Free wildcard SSL for CPanel

1) Install Let’s Encrypt

/scripts/install_lets_encrypt_autossl_provider
Enter fullscreen mode Exit fullscreen mode

2) Login to WHM and visit:

SSL/TLS »Manage AutoSSL
Enter fullscreen mode Exit fullscreen mode

3) Choose Let’s Encrypt and Save

4) Add CAA record to your domain

type: CAA
hostname: *.domain.com
authority: letsencrypt.org
tag: issuewild
flag: 0
ttl: 3600
Enter fullscreen mode Exit fullscreen mode
type: CAA
hostname: *.domain.com
authority: letsencrypt.org
tag: issue
flag: 0
ttl: 3600
Enter fullscreen mode Exit fullscreen mode
type: CAA
hostname: domain.com
authority: letsencrypt.org
tag: issue
flag: 0
ttl: 3600
Enter fullscreen mode Exit fullscreen mode

if you want to use cPanel (powered by Sectigo) then change autority to following:

sectigo.com
Enter fullscreen mode Exit fullscreen mode

5) Open terminal and run following command:

/usr/local/cpanel/bin/autossl_check --user=<cpanel-username>
Enter fullscreen mode Exit fullscreen mode

To renew all CPanel SSL include WHM, run following command:

/usr/local/cpanel/bin/checkallsslcerts --force
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
abdulqados profile image
Abdulqados • Edited

Thanks for Sharing... Appreciated Your Efforts.