Description |
This article describes that when using the standard CLI procedure for FlexVM license injection where a FortiGate is part of an HA environment with the dedicated management interface, it can happen that the traffic from the management interface is not routable or does not have internet access which is causing a license activation issue:
execute vm-license XXXXXXXXXXXXXXXXXXXX Requesting FortiCare license token:XXXXXXXXXXXXXXXXXXXX proxy:(null) |
Scope | FortiGate (FlexVM). |
Solution |
Be aware, when setting up the dedicated management interface even without using the 'ha-direct' setting the 'execute vm-license' command would use this interface for DNS resolution and license download:
config system ha
There are multiple approaches how to resolve this issue:
Note :
This also applies to any FortiGate VMs in AWS, Azure, etc. Even though the license is showing valid in GUI when the 'exec vm-license <token>' command is executed, it gives the same error as listed above. In such cases, it is necessary to remove the 'ha-mgmt-interfaces' settings and execute that command again. |