Created on
07-31-2024
07:25 AM
Edited on
08-07-2025
02:03 AM
By
Jean-Philippe_P
Description | This article describes how to authorize FortiGate to FortiClient EMS Cloud. |
Scope | FortiClient EMS Cloud v7.2.4, FortiGate v7.2.8. |
Solution |
execute fctems verify <EMS ID>
This command verifies FortiGate to FortiClient EMS connectivity.
For example:
diagnose endpoint fctems test-connectivity <EMS ID>
For example: This command will test the connectivity between FortiGate and EMS.
diagnose endpoint fctems test-connectivity 1
diagnose debug enable
Replicate the issue.
diagnose debug disable diagnose debug reset
error info: Error (ec_ems_rest_api_preprocess_result:66). CURL error: (28)Timeout was reached. (_process_pub_addr,751)Issue in pre-processing the result
diagnose debug application update -1
config endpoint-control fctems edit <EMS ID> set source-ip <any_ip> end
Additionally, traffic can be dropped due to MTU and fragmentation problems between the FortiGate and FortiClient EMS Server network path. Use the following FortiGate CLI commands to do an ICMP test between FortiGate and FortiClient EMS Server:
execute ping-options data-size 1400 execute ping <EMS Server IP or domain-name>
Note: The data size is calculated as MTU size minus 28 bytes (20 bytes for the IP header and 8 bytes for the ICMP header). For an MTU of 1500, the data size is 1472 bytes.
If the ping is successful, increase the data size incrementally and repeat the test until the ping fails. If the ping fails, decrease the data size until the maximum size that succeeds is found.
edit <INTERFACE-NAME> set mtu-override enable set mtu <VALUE> end
execute fctems verify 1
After running the command above, a certificate prompt will appear and ask for confirmation of the server certificate. When configuring a new connection to an EMS server, the certificate might not be trusted.
EMS configuration needs user to confirm server certificate.
Related documents: |
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 2025 Fortinet, Inc. All Rights Reserved.