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.
Ylli_Seitaj
Staff
Staff
Article Id 387505
Description This article describes an issue where a FortiGate VM cannot connect with FortiManager when CN on the local certificate: 'Fortinet Factory' on the FortiGate is 'FortiGate' instead of the Serial Number of the FortiGate.
Scope FortiGate, FortiManager.
Solution

Attempts to apply a new license with the correct CN fail, as shown below:

 

In the GUI:


Screenshot_1.png

 

In the CLI:

 

execute vm-license <token>

This operation will reboot the system !

Do you want to continue? (y/n)y


Failed to download VM license.


CN=FortiGate for the 'Fortinet_Factory' certificate, as shown below:

 

Screenshot_3.png

 

The solution for this issue is to redeploy the VM.

 

After the VM is redeployed, the certificate will have the correct CN (which will be with Serial Number of the FortiGate) and the FortiGate VM will be able to connect with FortiManager.