Troubleshooting Tip: FortiGate onboarding to FortiManager via IPsec Tunnel
| Description | This article describes the steps to troubleshoot the issue of onboarding a FortiGate device to FortiManager via an IPsec tunnel. The issue is caused by a certificate mismatch error, and this article provides a detailed solution to resolve the problem. |
| Scope | FortiGate, FortiManager. |
| Solution | To troubleshoot the issue of onboarding a FortiGate device to FortiManager via an IPsec tunnel, follow these steps:
execute vpn certificate local generate default-gui-mgmt-cert
fnsysctl killall fgfmd
Or:
diagnose sys process pidof fgfmd
There can be several PIDs in the output. The following step must be repeated for every PID:
diagnose sys kill 11 <pid>
diagnose debug crashlog read
Note: Make sure the FortiManager IP is reachable through the IPsec tunnel, which can be checked with the following routing command
FGT # get router info routing-table details x.x.x.x <----- Where x.x.x.x is the FortiManager IP.
The following is the correct configuration for sending the central management traffic through an IPsec tunnel.
FGT # config system central-management FGT (central-management) # set interface-select-method specify FGT (central-management) # set interface <tunnel interface> |
