Fortinet black logo

Administration Guide

Configuring certificates for SAML SSO

Configuring certificates for SAML SSO

Because communication between the root FortiGate IdP and FortiGate SPs is secured, you must select a local server certificate in the IdP certificate option on the root FortiGate. When downstream SPs join the IdP (root FortiGate), the SP automatically obtains the certificate.

In the following SP example, the IdP certificate displays REMOTE_Cert_2, which is the root server certificate for the IdP:

It is possible to manually import a certificate from an SP to the IdP so it can be used for authentication.

To manually import an SP certificate to an IdP:
  1. Add the certificate:
    1. On the SP, go to Security Fabric > Fabric Connectors and double-click the Security Fabric Setup card.
    2. Click Advanced Options. The SAML SSO pane opens.
    3. Enable SP certificate and select a certificate from the dropdown box.
    4. Click Download. The certificate is downloaded on the local file system.
    5. Click OK to close the SAML SSO pane.
    6. Click OK to close the Security Fabric Setup card.

  2. Import the certificate:
    1. On the IdP, go to Security Fabric > Fabric Connectors and double-click the Security Fabric Setup card.
    2. Click Advanced Options. The SAML SSO pane opens.
    3. In the Service Providers table, select the SP from step 1 and click Edit.
    4. Enable SP certificate and in the dropdown box, click Import.

      The Upload Remote Certificate window opens.

    5. Click Upload and select the certificate downloaded in step 1.
    6. Select REMOTE_Cert_2.
    7. Click OK. The certificate is imported.
    8. In the IdP certificate list, select the certificate that you imported.
    9. Click OK to close the SAML SSO pane.
    10. Click OK to close the Security Fabric Setup card.

Configuring certificates for SAML SSO

Because communication between the root FortiGate IdP and FortiGate SPs is secured, you must select a local server certificate in the IdP certificate option on the root FortiGate. When downstream SPs join the IdP (root FortiGate), the SP automatically obtains the certificate.

In the following SP example, the IdP certificate displays REMOTE_Cert_2, which is the root server certificate for the IdP:

It is possible to manually import a certificate from an SP to the IdP so it can be used for authentication.

To manually import an SP certificate to an IdP:
  1. Add the certificate:
    1. On the SP, go to Security Fabric > Fabric Connectors and double-click the Security Fabric Setup card.
    2. Click Advanced Options. The SAML SSO pane opens.
    3. Enable SP certificate and select a certificate from the dropdown box.
    4. Click Download. The certificate is downloaded on the local file system.
    5. Click OK to close the SAML SSO pane.
    6. Click OK to close the Security Fabric Setup card.

  2. Import the certificate:
    1. On the IdP, go to Security Fabric > Fabric Connectors and double-click the Security Fabric Setup card.
    2. Click Advanced Options. The SAML SSO pane opens.
    3. In the Service Providers table, select the SP from step 1 and click Edit.
    4. Enable SP certificate and in the dropdown box, click Import.

      The Upload Remote Certificate window opens.

    5. Click Upload and select the certificate downloaded in step 1.
    6. Select REMOTE_Cert_2.
    7. Click OK. The certificate is imported.
    8. In the IdP certificate list, select the certificate that you imported.
    9. Click OK to close the SAML SSO pane.
    10. Click OK to close the Security Fabric Setup card.