Description | This article describe how to configure FortiManager to use custom certificate for HA communication on port 5199. |
Scope |
FortiManager 6.2.7 and above FortiManager 6.4.x FortiManager 7.0.x FortiManager 7.2.x |
Solution |
By default, communication between FortiManager in HA cluster is works on TCP port 5199. Once HA is enabled, all active interfaces on the primary FortiManager will be opened and actively listening to port TCP/5199. However, it will only react to those peer with the configured Serial Number and packets coming from the configured IP address.
By default, all HA communication will be using the default 'Fortinet_Local' certificate. Starting from firmware 6.2.7, an extra feature is added to allow administrator to configure the custom certificate to be used for HA communication. The CLI command as below:
# config system ha set local cert "certificate_name" end
However, there are two things to take note:
1) The custom certificate used must have CN containing the FortiManager Serial Number.
2) If the certificate is a self-signed certificate, corresponding CA which signed the custom certificate must be imported first.
Below is the recommended step-by-step configuration:
1) Sign two custom certificates with CN=<FortiManager_Serialnumber> for both primary and secondary FortiManager.
2) Import the respective custom certificate to the respective FortiManager based on the Serial Number.
3) Import the CA certificate that was used to sign the custom certificate on both FortiManagers.
4) Configure HA to use this custom certificate for TCP port 5199 using the following commands.
# config system ha set local cert "certificate_name" end
5) Use the below command to verify if the HA communication is up.
# diagnose ha stats
Below is the sample output from the primary unit if the cluster is up:
# diagnose ha stats cluster status: up --- cluster member information --- ip : 10.197.1.194 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.