In this tutorial, I will explain how to update cPanel License key of a server / vps. cPanel license key can be updated from SSH. You need to update your server license key when you have a new licence key, or you want to upgrade from trail version to paid version.
Login to your server as root and via SSH and run following command
/usr/local/cpanel/cpkeyclt
Done!!
Now try to login in WHM using URL: http://server-ip:2086 OR http://server-ip/whm