Uploading 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, you must enter the license file that you downloaded from Customer Service & Support upon registration.
To upload the FortiGate-VM license file via the GUI:
- Do one of the following to access the license upload window:
- In Dashboard > Status window, in the Virtual Machine widget, click the FGVMEV (FortiGate-VM Evaluation) License icon. This reveals a menu of selections to take you directly to the FortiGate VM License window or to the FortiGuard Details window.
- Go to System > FortiGuard. In the License Information section, go to the Virtual Machine row and click FortiGate VM License.
- In the Evaluation License dialog, select Enter License. The license upload page opens.
- Select Upload and locate the license file (.
lic
) on your computer. - Select OK to upload the license file.
- Refresh the browser to log in.
- 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.
Modern browsers can have an issue with allowing connecting to a FortiGate if the encryption on the device 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:
You can also 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.
This command automatically reboots the firewall without giving you a chance to back out or delay the reboot. |