Skip to main content
CarlosColombini
Staff & Editor
Staff & Editor
Apr 29, 2022 9:15 PM UTC

Technical Tip: FSSO - Enabling Secure communication between Collector Agent and DC Agent

  • Jul 22, 2026 10:30 AM UTC
  • 0 replies
  • 9276 views
  • Translate All

Description

This article describes how to enable secure communication between Collector and DC Agents to address vulnerability from CVE-2021-26088, PSIRT Insecure communication between DC agent and Collector.

Scope

FSSO Collector and DC Agent 5.0.297 or higher.

Solution

By default, communication between FSSO DC Agents and Collector Agents is performed in plain text UDP packets on port 8002.

Starting from FSSO agent v5.0.297, secure communication can be configured as follows:

Collector Agent:

  1. Open the Fortinet Single Sign On Agent Configuration utility (typically located under 'C:\Program Files (x86)\Fortinet\FSAE\FSAEConfig.exe').

  2. Enable the checkbox 'Enable SSL'.

  3. Make a note of the 'DCAgent SSL' port that will be used in the DC Agent configuration.

  4. Define a Pre-shared Key.

  5. Select 'Apply'.

 

CarlosColombini_3-1651251061075.png

 

DC Agent:

 

  1. Open the DC Agent Configuration Utility (typically located under 'C:\Program Files\Fortinet\FSAE\DCAgentConfig.exe'). **

  2. Enable the checkbox 'Secure Communication'.

  3. Define the Pre-shared Key with the same value previously configured on Collector Agent.

  4. Add or modify the collector agent port to match the one defined in the Collector Agent.

 

Note:

If the port is being modified, such as from 8002 to 8003, Modify it before saving the configuration.

CarlosColombini_1-1651250230500.png

 

Note:

The private secret key must not be longer than 15 characters.

  • Note that the DC Agent Configuration Utility may not be present on the Domain Controller if the DC Agent was installed via the Collector Agent. To add the utility back to the domain controller, download and run the DC Agent installer from the Fortinet Support site ('DCAgent_Setup_<version number>_x64.exe'). Notably, this process also allows for modification of the settings for the existing DC Agent installation, including enabling TLS/SSL communication, setting a password, and changing the target Collector Agent IP/Port.

 

Verification:

Starting from the FSSO Collector and DC Agent version 5.0.304, the list of SSL DC Agents is shown under 'Show Monitored DCs'.

 

CarlosColombini_2-1651250995140.png

 

By performing a packet capture, it can be observed that communication is occurring over TCP port 8003. In addition, the 'Client Hello', 'Server Hello', and 'Application Data' messages use the TLS protocol.

For this packet capture:

  • DC Agent: 10.191.37.5

  • Collector Agent: 10.191.35.216


c92c47da.jpg


Additional note regarding DC-Agents installed to the Windows Server Core:

Some admins utilize Windows Server Core as a base for their Active Directory Domain Controllers. While DC Agent-based FSSO does work with Windows Server Core, the lack of support for most GUI applications means that it is not possible (by default) to utilize the DC Agent Configuration Utility to change the settings.

Furthermore, it is not possible to simply enable TLS/SSL communication on the domain controller via registry modification (specifically, the password-related registry key is encrypted and is non-trivial to replicate without the GUI utility).

To work around this, admins can install and utilize Microsoft's 'Server Core App Compatibility Feature on Demand' to add basic support for GUI-based applications (such as the DCAgent_Setup installer) to Windows Server Core-based installations (Windows Server 2019 and later). 

Lastly, if the vulnerability assessment tool still detects FSSO as non-secure, try uploading a self-signed certificate to the Collector Agent or DC Agent as shown below. Ensure the certificate is in .pem format and the CA is imported into the FortiGate as a Remote CA.


2024-11-25 11 41 21.jpg


Import the a Certificate in FortiGate.

Go to System -> Certificates -> Import -> Remote Certificate and select a certificate in .pem format. Then, apply it to the FSSO external connector as shown below.

2024-11-25 11 59 59.jpg

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024