← back to the blog reatox/logs en pt-br
vpn10 Nov 2026 · 7 min read · by reatox

SSL-VPN SAML that fails without a log

Users say the VPN does not connect, and the FortiGate records no login failure. When SAML breaks on the identity provider side, the log does not show an error. It shows silence.

The SSL-VPN authenticates through SAML with Entra ID. From one minute to the next, nobody can connect. The first reaction is to look for the login error. It is also what wastes the most time.

1. The symptom

The logs show no useful failure. The ssl-login-fail entries that do appear are password attempts by bots, with made-up usernames: the usual noise. There is no failed event for a real user. As far as the FortiGate knows, nobody tried to log in and got it wrong.

2. The cause

Entra started signing SAML responses with a new certificate. The FortiGate kept the old one configured in idp-cert. The signature does not match, and the response never becomes a login. None of this creates a failure record.

3. The sign is the absence

Instead of looking for the error, look for the success. In the event logs, filter subtype=user and action=auth-logon. The series of logins stops at an exact minute. That minute is when the certificate changed.

Without a log analyzer, the most recent active session also gives you the time:

get vpn ssl monitor

The remaining time of each session, subtracted from the configured maximum duration, shows when the most recent login happened.

4. Confirm the certificate

On the Entra side, the app's federation metadata is public and carries the certificate in use:

https://login.microsoftonline.com/<tenant>/federationmetadata/2007-06/federationmetadata.xml?appid=<app-id>

Take the SHA-1 thumbprint of that certificate and compare it with the one configured on the FortiGate. If they differ, import the new one and point idp-cert to it:

config user saml
    edit "<name>"
        set idp-cert "<new certificate>"
    next
end

5. So it does not catch you off guard

When the signing certificate changes in Entra, the FortiGate is not told. Agree with the identity team: the change in Entra and the change on the FortiGate happen in the same window, with someone testing a login right after.

Rule of thumb: when a login stops failing and simply stops happening, look for the last success, not the first error.

Want the agent to look for what stopped showing up in your logs?

request a demo