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.
Rathan_FTNT
Staff
Staff
Article Id 194035

Description

 

This article describes how to upload the FortiGate-VM license.

Every Fortinet VM includes a 15-day trial license.
During this time the FortiGate-VM operates in evaluation mode.
Before using the FortiGate-VM, enter the license file downloaded from Customer Service & Support upon registration.

 

Scope

 

FortiGate-VM.

Solution

 

To upload the FortiGate-VM license file via the GUI:

 

 

  1. Do one of the following to access the license upload window:

 

  • Go to Dashboard -> Status window, in the Virtual Machine widget, select the FGVMEV (FortiGate-VM Evaluation) License icon. This reveals a menu of selections that brings directly to the FortiGate VM License window or the FortiGuard Details window.
  • Go to System -> FortiGuard. In the License Information section, go to the Virtual Machine row and select 'FortiGate VM License'.

 

v7.0/v7.2:

 

7.2.png

v7.4:

 

7.2 Upload license.png

 

v7.6:

 

VM-v7.6.jpg

 

Do not upload the license file under 'Upload License File'. This will result in the error 'Manual license upload failed'.

  1. In the Evaluation License dialog, select Enter 'License'.

    The license upload page opens.

 

 
  1. Select 'Upload' and locate the license file (.lic) on the computer.
  2. Select 'OK' to upload the license file.
  3. Refresh the browser to log in.
  4. Enter admin in the Name field and select 'Login'.

The VM registration status appears as valid in the License Information widget after the license is validated by the FortiGuard Distribution Network (FDN) or FortiManager for closed networks.
 
Stephen_G_0-1726506935210.png

 

Modern browsers can have an issue with allowing connecting to a FortiGate if the encryption on the unit is too low. If this happens, use an FTP/TFTP server to apply the license.
 
To upload the FortiGate-VM license file via the CLI: 
Upload the license file using the following CLI command:
 
execute restore vmlicense {ftp | tftp} <filenmame string> <ftp server>[:ftp port]
 
Example:
The following is an example output when using a TFTP server to install a license:
 
execute restore vmlicense tftp license.lic 10.0.1.2
This operation will overwrite the current VM license!Do you want to continue? (y/n)y
Please wait...Connect to tftp server 10.0.1.2 ...
Get VM license from tftp server OK.
VM license install succeeded.
Rebooting firewall.

Stephen_G_1-1726507158854.png

 

This command automatically reboots the firewall without giving a chance to back out or delay the reboot.
 
Related article: