Install SSL for Cpanel Server Hostname
Cpanel will provide Free SSL for the server hostname if the server hostname resolves to server’s main IP address and the server has a valid cpanel license.
Cpanel will check for hostname SSL when upcp runs. This is run once every day.
You can manually run an SSL check by running
/usr/local/cpanel/bin/checkallsslcerts
If you have a paid SSL, you can install it in
WHM > Service Configuration > Manage Service SSL Certificates
If you see previously used hostnames show up in the SSL certificate, you can run
mv /var/cpanel/hostname_history.json /var/cpanel/hostname_history.json.old