FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Vedaant
Staff
Staff
Article Id 387516
Description

This article describes the configuration of SAML for the HA management interface.

Scope FortiGate.
Solution

Configure HA management interface reservation in the HA settings:


1.PNG

 

  • Primary firewall management IP: '10.20.1.1'.
  • Secondary firewall management IP: '10.20.1.2'.
  • FortiAuthenticator as IdP: '10.9.11.41'.

On the FortiGate (SP), go under Security Fabric -> Fabric connector -> Security fabric setup -> Select Single sign-on settings, select SP, fill in the IdP details copied from the FortiAuthenticator, fill in the SP details copied from the FortiGate to FortiAuthenticator, and import IDP cert from IDP server.

primary.PNG

Configure the same on the secondary firewall with the secondary firewall IP. Example: '10.20.1.2'.

sec.PNG


Configure Vdom-exception setting on FortiGate in HA cluster:

config system vdom-exception

    edit 1

        set object system.saml <----- To configure different attributes on SAML for Primary and Secondary FortiGate in HA cluster.

    next

end

Configuration of IdP on FortiAuthenticator, which will act as the IdP server.

Configuring IdP attributes on FortiAuthenticator:


idp fac.PNG


Configuration of SP for the primary FortiGate on FortiAuthenticator:


FAC sp pri.PNG
Configuration of SP for secondary on FortiAuthenticator:


FAC sec 1.PNG

Go to user management and create a local user and user to the user group:

local user group.PNG

 

After configuration, log out and re-login to the FortiGate with Sign with Security Fabric for the Primary or secondary firewall.

Verify the SAML redirection and troubleshoot SAML with the given commands:

 

diagnose debug application httpsd -1

diagnose debug application samld -1

diagnose debug console timestamp enable 

diagnose debug enable

 

To disable the debug, run the following command:

 

diagnose debug disable

Contributors