How to Fix Invalid cPanel License Error When the IP is in Fact Licensed

This article provides solutions should you log in to your WHM/cPanel and find a ‘trial license’ message or failure to login due to an invalid or expired license.

There are multiple causes when you face such errors including:

  1. Cpanel license expiration
  2. Change in the main IP of the server
  3. License not updated

In order to fix the above issue, first make sure you have an active cPanel license for the server IP.

You can check the status of your cPanel license at the URL below .

How to perform a cpanel license check - cpanel license verification tool

Copy and paste the server IP and click on Verify.

Once you clicked on “Verify” , it will show you the cPanel license status.

Confirming your servers primary IP address when performing a cpanel license check

If you find that the cPanel license status is invalid for your servers primary IP address and you receiving licensing for cPanel with us or your service, we recommend issuing a support ticket or email confirming your findings.  This is generally a very quick resolution unless the IP has been licensed from another party.

If you see the cPanel license status active, you can use the commands found below in order to fix the invalid cPanel license error.  Alternatively, if you see a trial period in effect on your server, you can simply wait until the next day as this script runs on a nightly basis automatically.

  1. Login to the server with root user with either Secure shell client ( SSH ) or Putty or utilize `WHM | https://YourServerIP:2087 -> Terminal`

  2. Run the following as root on the server:  

`/usr/local/cpanel/cpkeyclt --force`

Utilizing cpanel’s built in script in order to refresh or update cpanel license

After executing the command it will show you that the license status has been updated.

Now you should be able to login to WHM and navigate through it.

If you have any further issues, questions or would like some assistance checking the further or with anything else, please reach out to us from your account -> Support and provide your server credentials within the encrypted field for best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here: We are also available to you through our phone and live chat system 24/7/365.