Skip to main content
rahul_p1
Staff
Staff
August 26, 2025

Technical Tip: FortiGate GUI showing license expired when in HA

  • August 26, 2025
  • 0 replies
  • 1140 views

Description

This article describes why the primary FortiGate GUI may still display a license as expired, even after it has been successfully renewed.

Scope

FortiGate.

Solution

In an HA cluster, if only the primary FortiGate is licensed, the GUI on the primary may still display the license as expired. When FortiGate fetches contract details, it should retrieve the license information for both the primary and secondary units. If this synchronization fails, the system may continue to show the license as expired, as illustrated in the image below.

 

rahul_p1_0-1755835766564.png

 

rahul_p1_1-1755835766567.png

 

diagnose debug reset
diagnose debug disable
diagnose debug application update -1
diagnose debug enable
execute update-now


Primary device contract:

Contract=AVDB-1-06-20251002:0:1:1:0*AVEN-1-06-2
0251002:0:1:1:0*COMP-1-20-20251002:0:1:1:0*ENHN-1-20-20251002:0:1:1:0*FMWR-1-06-20251002:0:1:1:0*FRVS-1-06-20251002:0:1:1:0*FURL-1-
06-20251002:0:1:1:0*HDWR-1-05-20251002:0:1:1:0*NIDS-1-06-20251002:0:1:1:0*SBCL-1-06-20251002:0:1:1:0*SPAM-1-06-20251002:0:1:1:0*SPR

update_status_obj[731]-SBCL contract expiry=Thu Oct 2 04:00:00 2025
level(6) alert(0)
update_status_obj[731]-AVDB contract expiry=Thu Oct 2 04:00:00 2025
level(6) alert(0)
update_status_obj[731]-ETDB contract expiry=Thu Oct 2 04:00:00 2025


Secondary device contract:

Contract=AVDB-1-06-20250727:0:1:1:0*AVEN-1-06-2
0250727:0:1:1:0*COMP-1-20-20250727:0:1:1:0*ENHN-1-20-20250727:0:1:1:0*FMWR-1-06-20250727:0:1:1:0*FRVS-1-06-20250727:0:1:1:0*FURL-1-
06-20250727:0:1:1:0*HDWR-1-05-20250727:0:1:1:0*NIDS-1-06-20250727:0:1:1:0*SBCL-1-06-20250727:0:1:1:0*SPAM-1-06-20250727:0:1:1:0*SPR

update_status_obj[731]-SBCL contract expiry=Sun Jul 27 04:00:00 2025
level(6) alert(0)
update_status_obj[731]-AVDB contract expiry=Sun Jul 27 04:00:00 2025
level(6) alert(0)
update_status_obj[731]-ETDB contract expiry=Sun Jul 27 04:00:00 2025
level(6) alert(0)


Note:

When the secondary device license is renewed, the FortiGate GUI will show as an active license in the GUI.

 

license_updated.PNG

 

Since February 2025, units must be registered under the same FortiCloud account.

 

Notes:

  • If the following error is received: 'Missing contracts, got 1, expect 2' or 'Device <serial number> has been unregistered' in the debug log indicates that the FortiGate HA pair's license synchronization is failing because one unit has a different account registration or contract setup, resulting in an inconsistency.

  • To resolve this, ensure both units are registered with the same FortiCare account and have synchronized licenses, which may involve re-registering or re-importing licenses on the affected unit, and verifying that the license details (contracts, serial numbers, etc.) match across the HA pair.

  • Additionally, perform a license sync via CLI (execute ha manage 1 and execute ha manage 2) to force synchronization, and consider regenerating the license if discrepancies persist.

  • A significant change has started from FortiOS v7.6.1, v7.4.6, and onwards; FortiGate A-P HA clusters can share a single FortiGuard service virtual license for the following models:n

    • FortiGate 40F and variants.

    • FortiGate 60F and variants.

    • FortiGate 70F and variants.

    • FortiGate 80F and variants.

    • FortiGate 100F and variants.


More related information can be checked in:
Single FortiGuard license for FortiGate A-P HA cluster


Related article: 

Troubleshooting Tip: License not updating when FortiGate on HA have Different Account Registration.

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!