Skip to main content
singhl
Staff
Staff
Nov 28, 2022 6:24 AM UTC

Technical Tip: FortiAnalyzer secure log forwarding

  • Sep 14, 2026 4:02 PM UTC
  • 0 replies
  • 9692 views
  • Translate All

Description

This article describes how to configure secure log-forwarding to a syslog server using an SSL certificate and its common problems.

Scope

Secure log forwarding.

Solution

Configuration details:

Create a Log Forwarding server under System Settings -> Log Forwarding with the following options enabled:

Enable the following option in either the GUI or CLI:

set fwd-reliable 


Enable the following option in the CLI:

set fwd-secure


secure_logfwd.png

 

  • On FortiAnalyzer, upload the signing CA certificate (as 'CA Certificate') for the SSL certificate used by the Syslog server.

  • When mTLS is enabled on syslog server, the log forward daemon on FortiAnalyzer uses the same certificate as oftp daemon and that can be configured under 'config sys certificate oftp' CLI.


By default, it uses Fortinet’s self-signed certificate.

  • In the latest v7.0.x/v7.2.x, there is a new 'peer-cert-cn' verification added. It can be enabled optionally and verification will be done as per filled CN. If empty, verification will be ignored.

 

Common Problems:

  • When a Syslog server has mTLS enabled, it expects FortiAnalyzer to present its SSL certificate during initial negotiation. Issue can arise when current certificate used in OFTP is not trusted by Remote server.

 

  1. If the remote server can trust Fortinet’s self-signed CA certificates, then upload 'Fortinet_CA' and 'Fortinet_SUBCA' to it.

  2. If not, obtain a new certificate for FortiAnalyzer, which should be signed by a publicly trusted CA (like DigiCert), and use that as an OFTP certificate. (This option would also need to upload a CA certificate on all FortiGates sending logs).

 

  • Log format not supported by Syslog server:


FortiAnalyzer follows RFC 5424 protocol. But, the syslog server may show errors like 'Invalid frame header; header=''.

This usually means the Syslog server does not support the format in which FortiAnalyzer is forwarding logs.

Note:

Log forwarding is not supported on FortiManager, including when FortiAnalyzer features are enabled.

 

Related articles:

    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