Technical Tip: FortiGate stucks in Validating License screen ('License is being validated by FortiGuard')
| Description | This article describes the case when FortiGate GUI is stuck with the error 'License is being validated by FortiGuard'.
In a normal operation, after uploading the license or launching a VM for the first time, a prompt on the GUI appears about the license being validated by the FortiGuard server:
A successful license validation allows to log in to FortiGate’s GUI:
However, it is possible to encounter the issue where the first screen loads for a long time, in which it will show a button to select on the CLI console to check the network connection. |
| Scope | FortiGate. |
| Solution | Make sure the following requirements are met for the connection to the FortiGuard:
execute ping service.fortiguard.net
And:
execute ping update.fortiguard.net
Note: Hostname resolution is required for the FortiGate to maintain connectivity to FortiGuard services.
On CLI, verify the below command configuration is correct for DNS and FortiGuard Settings:
DNS:
end
FortiGuard:
config system fortiguard set fortiguard-anycast disable set protocol udp set port 8888 set sdns-server-ip 208.91.112.220 173.243.140.53 210.7.96.53 200.91.112.220 end
If both requirements above are met, run the commands below to troubleshoot (Troubleshooting Tip: Unable to connect to FortiGuard servers:(
diagnose debug application update -1
Leave it running for a couple of minutes.
To disable it, type this command:
diagnose debug disable
Check the debug output for different scenarios:
2022-01-11 14:06:17 [360] __ssl_crl_verify_cb: Cert error 9, certificate is not yet valid. Depth 0
Error: 9 (certificate is not yet valid)
Then it will be necessary to check the FortiGate system time. Refer to the below KB article to adjust the date/time settings on the FortiGate: Technical Tip: Setting the system time.
After adjusting the settings, the validation will go through.
upd_comm_connect_fds[455]-Trying FDS [2620:101:9000:140:173:243:140:6]:443 tcp_connect_fds[265]-Failed connecting after sock writable upd_comm_connect_fds[469]-Failed TCP connect upd_act_HA_contract_info[714]-Error updating FSCI -1
Try to explicitly specify the interface to connect to the FortiGuard server by executing the following commands:
config system fortiguard set interface-select-method specify (the default option is auto) set interface <WAN-interface> end
Check the update debug again to see if the FortiGuard servers are reachable now. If not, open a case with TAC for further assistance: Support.
upd_fds_load_default_server6[1046]-Resolve and add fds usupdate.fortinet.net ipv6 address failed. upd_fds_create_list[1295]-No server found for update[00000001] do_setup[348]-Failed setup
Try to check DNS connectivity with FortiGate. Refer to the following KB article to bring DNS connectivity back on the FortiGate: Technical Tip: DNS stops working when using custom DNS.
It is worth checking if any proxy is configured for FortiGuard connectivity. The same way a source-ip is specified for different FortiOS services (DNS, FortiGuard, Syslog, etc.), a proxy can be configured to tunnel traffic from FortiGate to FortiGuard through a proxy appliance: Technical Tip: How to identify if the FortiGate is using proxy server to receive update from FortiGuard by analysing the debugs.
This feature was introduced in FortiWeb appliances and is also available on all FortiOS versions.
config system autoupdate tunneling end
Disable this feature and test if FortiGuard is reachable to get license information:
config system autoupdate tunneling end
Note: In v7.6.3 and above, the 'config system autoupdate tunneling' command has been removed and replaced with 'config system fortiguard'. See Changes in CLI.
config system fortiguard set proxy-server-ip <proxy_address> set proxy-server-port <proxy_port> set proxy-username <username> set proxy-password <password> end
In some scenarios, the acquired license may be low-encryption (LENC). Low encryption uses TLS version 1.0, which prevents FortiGuard validation because it is no longer supported, and there is no option to use a stronger cipher when this license is in use. To validate a lower license, run the following command: get system status | grep License License Status: Low-Encryption(LENC) Use a regular license, as low encryption licenses cannot be validated. To obtain the IP of the FortiGuard server contacted, the following debugs are required from the CLI: diagnose debug reset diagnose debug application updated -1 diagnose debug enable execute update-now
A packet capture where x.x.x.x is the IP being used to initiate the connection to FortiGuard.
diagnose sniffer packet any 'host x.x.x.x and port 443' 6 0 l
If all of the above have been checked and the issue persists, try to run the following command:
Note: This command will require a reboot of the FortiGate, so make sure to run it out of business hours or during a maintenance window. |


