A cPanel license that fails to validate is one of the more disruptive failures because it locks the WHM UI and stops core daemon operations after a grace period. The cause is almost never “cPanel revoked your license” — it is usually a network problem reaching the licensing server, an IP change, or a clock skew that breaks the signed request. The runbook below resolves nine cases out of ten in under five minutes.
What’s happening
The cPanel license validates against verify.cpanel.net on a schedule. The licensed IP must match the host’s public IP, the system clock must be within an hour of UTC, and the host must be able to reach the licensing endpoint over HTTPS. When validation fails, cpkeyclt and the WHM UI show “License: Expired” or “License could not be verified”. A 3-day grace period applies, then daemons start refusing connections.
How to verify
The five checks, in order:
# 1. what cPanel thinks the license state is
whmapi1 get_license_info
/usr/local/cpanel/cpkeyclt
# 2. what IP cPanel sees us as
curl -s https://verify.cpanel.net/ip
# 3. what IP we actually have
ip addr show | grep "inet "
# 4. system clock
date -u
chronyc tracking
# 5. network path to licensing
curl -v https://verify.cpanel.net/ 2>&1 | head -20
If cpkeyclt succeeds, license is restored immediately. If it fails, the error message points at which check broke.
The fix
- IP mismatch —
curl -s https://verify.cpanel.net/ipreturns the IP cPanel sees you as. If it differs from your actual public IP, the host has changed IPs and the license is pinned to the old one. Have your license partner update the IP in the license panel, then runcpkeyclt. - Clock skew —
chronyc trackingshows offset from NTP. If more than a minute off,chronydis not running or NTP is blocked.systemctl restart chronyd; if it does not converge, the firewall is blocking UDP 123 outbound. - Network blocked —
curl https://verify.cpanel.net/should return content. If timeout or connection refused, a firewall (local or upstream) is blocking. Allowlist the cPanel licensing endpoints in CSF and any upstream firewall. - License expired or canceled —
whmapi1 get_license_inforeturnsexpiredorcanceled. Contact your license partner (or the cPanel store for direct licenses). The fix is administrative, not technical. - Manual revalidation — once the underlying issue is fixed,
/usr/local/cpanel/cpkeyclt --forcere-pulls the license. If still failing, restart cpsrvd:systemctl restart cpsrvd.
If the licensing endpoint is up but cpkeyclt keeps failing, check /var/cpanel/license_check.log for the actual error. Stack Harbor handles license operations under cPanel server management — start a conversation when license issues are recurring.