Installing VM licenses
You can install VM licenses to managed FortiGate devices using the FortiManager Device Manager. This enables management and replacement of FortiGate license files without having to directly access the FortiGate-VM instance.
The device manager supports VM license installation with two options:
- License File (BYOL VM License)
- Flex-VM Connector
To install a BYOL VM license in the Device Manager:
- Go to Device Manager > Device & Groups.
- In the toolbar, make sure Table View is selected.
- Select a managed device from the table, and right-click on it to view the context menu.
- Select Install VM License.
The Install VM License wizard opens.
- Select License File, and drag-and-drop your license file into the Upload License File field.
- You can preview the license file selected, and click OK.
To install a license using the Flex-VM connector in Device Manager:
- Go to Device Manager > Device & Groups.
- In the toolbar, make sure Table View is selected.
- Select a managed device from the table, and right-click on it to view the context menu.
- Select Install VM License.
The Install VM License wizard opens.
- Select Flex-VM Connector, and select the previously configured Flex-VM connector in the dropdown menu. For more information on creating Flex-VM connectors, see Creating Flex-VM connectors.
- Select a Flex-VM Configuration.
Available configurations are pulled automatically from FlexVM using the selected connector. - Click OK.
When a custom certificate is used by the FortiGate admin for central management, FortiManager requires that the certificate must contain the FortiGate serial number either in the CN or SAN. Without the serial number, the tunnel connection will fail, and FortiManager will be unable to provide a license to the FortiGate using the Flex-VM connector.
In order to use the Flex-VM connector to install a new license to a FortiGate using a custom certificate without a valid serial number, this check can be disabled using the CLI.
config system global
set fgfm-peercert-withoutsn enable
end