When trying to update the cPanel license, the following error message is showing:
[root@server ~]cPs# /usr/local/cpanel/cpkeyclt Updating cPanel license...Done. Update Failed! Error message: The cPanel license server said that a license could not be issued for your server (500). For more information visit: https://www.cpanel.net/lic/ The exact message was: Your clock is too far off NIST time. (18.104.22.168)
This suggests that the system time is incorrect. You can confirm this by running /usr/bin/timedatectl and comparing the output with the correct time and date for both the local and the assigned time zone.
In most cases, you should be able to correct this issue by running the following command:
/usr/bin/rdate -s rdate.cpanel.net
If the above command doesn't work, you need to contact your hosting provider to correct the issue for you.