Troubleshooting Tip: How to troubleshoot SAML authentication
| Description | This article describes how to troubleshoot SAML authentication. |
| Scope | FortiGate. |
| Solution | A situation may occur in which the SAML for the SSL VPN/Admin access to the GUI is configured correctly according to the Fortinet documentation, but the authentication is still unsuccessful.
The proper approach in such a case would be to run the debug for the samld (process responsible for the SAML authentication).
diagnose debug reset diagnose debug console timestamp enable diagnose debug application samld -1 diagnose debug application authd -1 diagnose debug application httpsd -1 <----- For Admin access. diagnose debug application http_authd -1 <----- Available since 7.6.x. diagnose debug application sslvpn -1 <----- For SSL VPN. diagnose debug application eap_proxy -1 diagnose debug enable
Reset debug using the following commands: diagnose debug reset Disable debug using the following commands: diagnose debug disable Note: Before running the commands below, make sure to download the console output to a file. Follow this article for instructions on how to capture the output in a text file with PuTTY: Technical Tip: How to create a log file of a session using PuTTY.
Failed to process response message. ret=440(The profile cannot verify a signature on the message) To resolve this scenario:
If the issue was related to the certificate. After applying the above changes, the authentication should now be successful. Note: For MFA authentication, verify the remote authentication timeout value. The default remote authentication timeout value is 5 seconds. To increase the timeout value for MFA, use the following commands:
config system global set remoteauthtimeout 60 end
To collect the SAML logs from the user's browser, use SAML extensions:
Note:
|
