Enable SSL for the cPanel hostname by executing the command below.
sysconfig cpanel ssl
Before running the command, make sure your hostname's A record and DNS are properly configured. The SSL certificate will be issued automatically upon execution.