What is a cPanel licence?
A licence is a permit to use software. Every cPanel server needs one. The licence is tied to the server's main IP address. The IP address is the server's number on the internet. cPanel checks the licence with its own servers. If it cannot find a match, you see a message like "Invalid License File".
Common reasons:
- The server IP address changed.
- The licence ran out or was not paid.
- The server clock is wrong.
- A firewall blocks the check.
Licence details such as costs and renewals are not covered here. Ask Hostvento support whether your licence comes with your plan.
Step 1: Check the basics
- Confirm your licence is active. Look in your client area at https://secure.hostvento.com/clientarea.php under Services. Ask support if you are not sure who holds the licence.
- Check the server date and time.
This shows the server clock. A wrong clock breaks the check.date - Fix the clock if needed.
This keeps the clock right by itself.yum install -y chrony systemctl enable --now chronyd
Step 2: Refresh the licence
- Log in to the server over SSH as root.
- Run this command.
This asks cPanel's servers for a fresh licence file for this IP./usr/local/cpanel/cpkeyclt - Read the result. A good result says the update succeeded.
- Reload WHM in your browser.
Step 3: If it still fails
- Find the IP address your server uses to reach the internet.
This prints your public IP. It should match the IP the licence was issued for.curl -s https://ipinfo.io/ip - If the IP changed, the licence must be moved to the new IP. Open a ticket with Hostvento support at https://secure.hostvento.com/submitticket.php. Tell them the old and new IP.
- Check your firewall allows outgoing connections on port 443 and 2086.
- Run
/usr/local/cpanel/cpkeycltagain.
Tip: Do not run the command many times in a row. If it fails twice, the cause is usually the IP address or the licence itself.
Quick recap
- The cPanel licence is tied to your server's IP address.
- Check the server clock and your licence status.
- Run
/usr/local/cpanel/cpkeycltas root. - If the IP changed, ask Hostvento support to move the licence.