There may be times when you need to apply the server hostname SSL certificate to the cPanel services. The server hostname SSL certificate is needed for secure connections to cPanel services.
The hostname SSL certificate is applied to these cPanel services:
1) FTP server
2) Exim (SMTP) server
3) Calendar, cPanel, WebDisk, Webmail, and WHM Services
4) Dovecot mail server
If you want to change the hostname to some other name ex:- hostname.abc.com then goto
WHM: Networking setup>> Change hostname
After that you need to add a DNS record for the hostname.
ex:- hostname.abc.com A 1.2.3.4
After that goto the following location
WHM: Home>> Service configuration>> Manage service SSL certificates
Check all boxes for all the services, then select the ‘Browse Certificates’ button:
Select the hostname SSL certificate that is VALID from the menu under ‘root’. The below example only shows a self-signed certificate. On your server, locate and use the VALID hostname SSL certificate:
Once selected, you will see the SSL certificate on the page with green checkmarks next to it: