If you renew or purchase a WHM license and your server is still reporting that you’re not properly licensed or in trial mode, run the following command as root at your command line:

 /usr/local/cpanel/cpkeyclt