Solution | Â  Â Â Note: In FortiAuthenticator v6.4.5, this is enabled by default. However, in FortiAuthenticator v6.4.6, this needs to be enabled manually, as certificates need to be set up before using it. If not, this will result in the dis-connectivity of FSSO sessions and the FSSO connector in Firewall, will be down. Â In order to use this encryption feature, first issue a certificate and assign it to the FSSO in FortiAuthenticator. In this article, FortiAuthenticator is being used as a Root Certificate Authority, which will issue certificate to FSSO.
Go to FortiAuthenticator -> Certificate Management -> Certificate Authority -> Local CAs -> Select Create New.
      Once the CA certificate is generated, it will be shown in the list.
Now create a Local Service certificate, which will be linked to the FSSO encryption settings in FortiAuthenticator.
      Now assign this certificate in the encryption settings of FSSO in FortiAuthenticator.
Go to FortiAuthenticator -> Select Fortinet SSO Â -> Select Settings - > Select FortiGate -> Now on the right hand side, enable 'Enable encryption' and select the recently created FSSO certificate.
Then select 'Enable authentication' and enter 'Secret Key'. Select OK to save the settings.
   Go back to the Local CAs under Certificate Authorities, select the Certificate, and select Export Certificate.Â
   A File with the name of certificate will be downloaded automatically. In this case it is named as 'Root_CA_1.crt'.
The next step is to import this Root CA to FortiGate 'Remote CA Certificate' list.
Login to FortiGate, Select System -> Certificates -> select Create/Import -> Select CA Certificate.
               Important note: Encryption key should be the same on both FortiAuthenticator and FortiGate.      Basically FortiGate uses TCP Port 8000 for FSSO communication with FortiAuthenticator.   Â
config user fsso
edit Fortiauthenticator
set port 8000
end
       Important Note: If 'OK' is selected or 'Apply & Refresh' is used in the GUI console, the port will be overwritten to 8001 and the FSSO will be down again. If this occurs, go back to the CLI and change the port to 8000 in FSSO configs.
Additionally, in FortiGate v7.4.2 and later, if the encrypted connection port is changed to 8000, the port remains set to 8000 and does not revert to 8001 after selecting 'OK' or 'Apply & Refresh'. |