FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
bvagadia
Staff
Staff
Article Id 203810
Description This article describes how to fix the 'License is invalid for the current VM configuration' error.
Scope FortiGate, Microsoft Azure.
Solution

Usually, an error 'License is invalid for current VM configuration. Upload a new license or reconfigure the VM.' means that the particular VM has more vCPUs than is allowed, or the VM is using an incorrect VM image.

 

Check the connectivity with FortiGuard and verify the CPU info. See this section of the administration guide for instructions.

 

This usually occurs because the FortiFirewall VM Image was downloaded instead of the FortiGate VM Image, or the Upgrade Image was downloaded instead of the New Deployment image from the VM Images page under the Support tab at the support.fortinet.com portal.

 

Check the VM image details using the following command:

 

get system status

 

VMImage.png

 

The Version should display as 'FortiGate-VM VM64...'.

 

Download the appropriate VM image from either the VM Images page (Under the Support tab) or the Firmware Download page. Both pages are available under the Support tab.

 

If the issue persists, collect the following debug output and create a support case:

 

get system status
diagnose debug vm-print-license
diagnose hardware sysinfo vm full (
exe ping fds1.fortinet.com
fnsysctl cat /proc/sys/kernel/random/uuid

 

Also, if Fortigate is in an HA cluster, both FortiGate units should have identical and valid licenses with matching feature sets and expiration dates. If this is not the case, the error above may occur.

      

Confirm the license validation by running the following commands:

 

# diag hardware sysinfo vm full <- (This command provides detailed hardware information about the FortiGate virtual machine and shows the VM’s unique identifiers, like the UUID,  CPU, memory, and VDOM licensing details.)

 

image (14).png

 

fnsysctl cat /proc/sys/kernel/random/uuid <- (This will provide information about UUID i.e is specific to each FortiGate VM.)

 

diag debug vm-print-license <- (It shows detailed license information for your FortiGate VM, including the serial number, license expiry date, activated features, and the resources allocated.)

 

image (15).png

 

Related video:

 

 

Another common error is trying to use another Fortinet Product that has a valid license in the FortiGate.

For more information:

Troubleshooting Tip: Error 'License is invalid for the current VM Configuration' when using another ....