I was performing a FortiGate firmware upgrade via both web GUI and TFTP but it's giving me a license error. Per the Fortinet link, starting FortiOS 7.4.2 and above, enforcement of an active FortiGate firmware license to allow firmware upgrades has been improved. Enforcement is based on the expiry date of the current firmware license compared to the release date of the first GA release of a major or minor version. For example, for FortiOS 7.4.x firmware upgrades, enforcement is based on the expiry date of the current support contract compared to the release date of FortiOS 7.4.0 GA.
This is the error message when you perform the firmware upgrade via web GUI: System > Firmware & Registration > File Upload > select target firmware image file.
You can use the execute restore image tftp <filename.out> <tftp_server_ip> CLI command to upgrade firmware via a TFTP server. Just directly connect an RJ45 cable from your PC LAN to the MGMT port and set the PC LAN adapter to auto obtain an IP address. The MGMT IP address is usually set to 192.168.1.99/24.
FortiGate # execute restore image tftp
FGT_xF-v7.6.x.M-build36xx-FORTINET.out 192.168.1.110
This operation will replace the current firmware version!
Do you want to continue? (y/n)y
Please wait...
Connect to tftp server 192.168.1.110 ...
##################################
Get image from tftp server OK.
Verifying the signature of the firmware image.
Image verification OK!
Warning: Installing image v7.6.x from v7.4.x may result in loss of configuration. Do you want to proceed?
Do you want to continue? (y/n)y
Warning: Upgrading to an image with Mature maturity notation.
Firmware update license is expired! Please update to
a valid license.
Command fail. Return code -180
Per the Fortinet link, an alternative solution is to register the FGT device in FortiCloud using the FortiCloud key, download the license file and manually register it offline. This is useful for FGT deployed in a very secure or air-gapped network wherein there's no Internet connectivity to FortiCloud. Below is the FortiCloud key sticker in the FortiGate chassis.

Once FGT device is registered in FortiCloud, you can download the Off-Network license (.lic) file which is found under the License & Key section.
You can upload the license file under System > FortiGuard > FortiGuard update > Upload License File. It will instantly change its status to Registered/Licensed (green).
You're now allowed to perform the firmware upgrade.
FortiGate# Image verification OK!
Firmware upgrade in progress ...
Done.
The system is going down NOW !!
Please stand by while rebooting the system.
Restarting system.
FortiGate-x (17:52-09.19.2025)
Ver:05000203
Serial number: FG1xTK25001234
CPU: 1400MHz
Total RAM: 8 GB
Initializing boot device...
Initializing MAC... NP6XLITE#0
Please wait for OS to boot, or press any key to display configuration menu......
Booting OS...
Initializing firewall...
System is starting...
<OUTPUT TRUNCATED>
FortiGate-1x # get system status
Version: FortiGate-101F v7.6.x,build3x (GA.M)
First GA patch build date: 24x
Current Security Level: High
Firmware Signature: certified
Virus-DB: 1.00000(2018-04-09 18:07)
Extended DB: 1.00000(2018-04-09 18:07)
AV AI/ML Model: 0.00000(2001-01-01 00:00)
IPS-DB: 6.00741(2015-12-01 02:30)
IPS-ETDB: 0.00000(2001-01-01 00:00)
IPS-MLDB: 0.00000(2001-01-01 00:00)
APP-DB: 6.00741(2015-12-01 02:30)
Telemetry-DB: 1.00005(2026-07-22 05:52)
AIAP-DB: 0.00000(2001-01-01 00:00)
Proxy-IPS-DB: 6.00741(2015-12-01 02:30)
Proxy-IPS-ETDB: 0.00000(2001-01-01 00:00)
Proxy-APP-DB: 6.00741(2015-12-01 02:30)
FMWP-DB: 0.00000(2001-01-01 00:00)
IPS Malicious URL Database: 1.00001(2015-01-01 01:01)
IoT-Detect: 0.00000(2022-08-17 17:31)
OT-Detect-DB: 0.00000(2001-01-01 00:00)
OT-Patch-DB: 0.00000(2001-01-01 00:00)
OT-Threat-DB: 6.00741(2015-12-01 02:30)
IPS-Engine: 7.01168(2025-11-19 22:37)
Timezone DB Version: 1.003
Timezone DB IANA Version: 2024a
<OUTPUT TRUNCATED>
Release Version Information: GA
System time: Wed Jul 22 05:56:41 2026
Last reboot reason: warm reboot






