FortiClient “Permission Denied (-455)” and -7200 Errors

Fortinet logo

Short answer: “Permission denied (-455)” and “Credential or SSLVPN configuration is wrong (-7200)” both appear when FortiClient reaches your FortiGate but the sign-in is refused, usually at 48%. The most common causes are a username saved with an extra space, an old saved password, or an account that is locked, expired or not in the VPN group. Retype the username and password in the connection, then reconnect. If -7200 started for everyone after a firewall upgrade, the FortiGate may be on FortiOS 7.6.3 or later, where SSL VPN tunnel mode no longer exists.

An engineering consultancy with offices in several states contacted us when one of their engineers could not connect to either of the firm’s FortiClient VPN connections. One connection stopped at 48% with “Permission denied (-455)” and the other with “Credential or SSLVPN configuration is wrong (-7200)”. He was using the same username and password that worked everywhere else, and the first theory was that his account was missing from a VPN group. His group memberships were identical to colleagues who could connect. The FortiGate’s VPN event log showed the real problem: every failed attempt had been sent with a space after his username. Here is what we found and how to fix it.

Fixed by Rohan Colley at GCIT. Written up by Elliot Munro, CISO.

Symptoms

When you click Connect in FortiClient VPN, the status climbs to about 48% and then a Warning box appears:

Permission denied. (-455)

FortiClient VPN warning at 48 percent: Permission denied. (-455)

On another connection, or on a newer FortiGate, the same failure can show a different message at the same point:

Credential or SSLVPN configuration is wrong. (-7200)

FortiClient VPN warning at 48 percent: Credential or SSLVPN configuration is wrong. (-7200)

A tray notification saying “SSL VPN connection is down” often follows. People also search for this as “FortiClient error 455”, “FortiClient -7200”, “FortiClient VPN stuck at 48%” or “FortiClient permission denied with the correct password”.

Affected Software

  • Application: FortiClient VPN (the free VPN-only client) and FortiClient 7.x managed by FortiClient EMS
  • Platform: Windows 10 and Windows 11, also macOS
  • Related Services: FortiGate SSL VPN, with users from the FortiGate itself, Active Directory (LDAP) or RADIUS

Cause

At around 48%, FortiClient has already found the FortiGate and is sending your username and password. Both errors mean the FortiGate refused the sign-in at that step. They do not mean your internet connection or the VPN server is down. The usual reasons are:

  • The username is not exactly right. A space before or after the name, a different format (for example DOMAIN\name instead of name) or a typo saved in the connection. With Save login turned on, the mistake is repeated on every attempt and is easy to miss, because a trailing space is invisible in the field.
  • An old password is saved. After a password change, FortiClient keeps sending the previous password until you update it.
  • The account cannot sign in. It is disabled, locked out after repeated failures, or its password has expired in Active Directory.
  • The account is not allowed to use that VPN. The user is not in the group that the FortiGate’s SSL VPN settings and firewall policy allow. Businesses with several offices often have one VPN connection per office, each tied to its own group.
  • The FortiGate no longer supports SSL VPN tunnel mode. Fortinet removed SSL VPN tunnel mode in FortiOS 7.6.3. A FortiClient SSL-VPN connection to a FortiGate on that version stops at 48% with -7200 until the connection is moved to IPsec VPN.
  • The SSL VPN service on the FortiGate is unhealthy. Fortinet notes that -7200 can also appear when the FortiGate is in conserve mode (low on memory) or its SSL VPN interface is down. In that case everyone gets the error, not just one person.

In our case the FortiGate logged each failure with the reason sslvpn_login_permission_denied, and the username in the log had a trailing space. This FortiGate uses “permission denied” as its general reason for any failed login, which is why it first looked like a group or permissions problem. Other users who mistyped their password that morning had the same reason logged and connected minutes later. When the engineer retyped his username without the space, he connected straight away.

Resolution

For the person using the VPN

  1. Click OK to close the warning and make sure FortiClient shows as disconnected.
  2. On the Remote Access screen, select the connection in the VPN Name list, open the menu next to it and choose Edit the selected connection.
  3. Click into the Username field, delete everything in it, and type your username again. Do not paste it, and do not press the space bar before or after it. Use exactly the format your IT team gave you.
  4. Click Save. If your business has more than one VPN connection saved (for example one per office), repeat this for each one.
  5. Type your current password when you connect. If you recently changed your password, this replaces the old one FortiClient had saved.
  6. If you are sitting in the office that the VPN connects to, you do not need the VPN, and it may refuse to connect from inside that network. Test it from home or a mobile hotspot.
  7. If it still fails, take a screenshot of the warning, note the time, and send both to your IT team. The time lets them find your attempt in the firewall log.

FortiClient Edit VPN Connection screen showing the SSL-VPN remote gateway, port and saved username fields

For administrators

  1. On the FortiGate, open Log & Report > System Events and filter to VPN Events (or check FortiCloud or FortiAnalyzer logs) around the time of the failure. Look at the exact username recorded and the reason. sslvpn_login_permission_denied and sslvpn_login_unknown_user point to the sign-in itself. Watch for trailing spaces, a domain prefix, or a username that does not match the account.
  2. Check the account in Active Directory or the FortiGate’s user list: enabled, not locked out, password not expired.
  3. Compare the user’s group memberships with a colleague who connects to the same VPN successfully, and confirm the group is used in the SSL VPN authentication rules and the firewall policy for that gateway. Only change groups once the log shows a group or policy problem.
  4. If the logs are not clear, run a live debug while the user retries, as described in Fortinet’s -7200 troubleshooting tip: diagnose debug application fnbamd -1 and diagnose debug application sslvpn -1 with a filter on the user’s public IP address, then diagnose debug enable.
  5. If every SSL VPN user gets -7200, check the FortiOS version. On FortiOS 7.6.3 or later, SSL VPN tunnel mode has been removed, so convert the remote access setup to IPsec VPN on the FortiGate and update the FortiClient connections to match. On older versions, check for conserve mode with diagnose hardware sysinfo conserve and confirm the ssl.root interface is up.
  6. Have the user reconnect and confirm a successful login appears in the VPN events log with the expected group.

Important Notes

  • Retype, do not just look. A trailing space cannot be seen in the Username field. Clearing the field and typing the name again is quicker than inspecting it.
  • Repeated failures can lock the account. If Active Directory has a lockout policy, several failed VPN attempts in a row can lock the user out of their computer and email too. Stop and check the details before trying again many times.
  • Check firmware before upgrading. Before you upgrade a FortiGate to FortiOS 7.6.3 or later, plan the move from SSL VPN tunnel mode to IPsec VPN. Existing SSL VPN tunnel settings are not converted to IPsec for you during the upgrade.
  • Getting a different error? If FortiClient never reaches 48% and says the VPN server may be unreachable, see Fix: FortiClient “The VPN Server May Be Unreachable” (-14). If it gets to 98% and then drops, see Fix: FortiClient VPN Stuck at 98% When Connecting.

If your team’s VPN keeps refusing sign-ins, or you need to move off SSL VPN before a FortiGate upgrade, book a free consultation and we will look at your remote access setup.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.