Install a new certificate on a domain/cpanel

Operating System & Version
CentOS v7.9.2009
cPanel & WHM Version
106.0.11

Jeromero

Active Member
Aug 6, 2019
36
4
8
Johannesburg , South Africa
cPanel Access Level
Website Owner
Hi there,
after a client deleted an SSL certificate by mistake, she asked us to install the new one.
Id there an easy way to do this as I installed one I generated over some website (third party) - via letsncrypt
but now that certificate is working only on domainname.com and not on www.domainname.com and mail.domainname.com and other options in cPanel?
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
542
253
138
IN
cPanel Access Level
Root Administrator
Make sure www.domainname.com and mail.domainname.com and resolves to server IP address, then you can use following command from the terminal:

Code:
/usr/local/cpanel/bin/autossl_check  --user=username
NOTE: replace the username with your cPanel user.