Fortigate VPN client “Unable to logon to the server. Your username or password may not be properly configured for this connection. (-12)”

fortigatefortinetvpn

We're running a Fortigate 100D, and having some trouble with the SSL VPN via FortiClient.

I installed FortiClient on an external Windows 7 PC a few days pack and the SSL VPN connected and worked.

I uninstalled it from that PC and installed it on a different external Windows 7 PC, and now cannot connect to the VPN. I get this error when it attempts to connect:

Unable to logon to the server. Your username or password may not be properly configured for this connection. (-12)

Google was pretty unhelpful.

We have tried it on two external Windows systems now, and get the same error on both systems.

There does not appear to be any information in the firewall's event logs/vpn logs.

The client gives this

7/10/2013 3:20:08 PM Debug ESNAC Start searching for FGT
7/10/2013 3:20:08 PM Debug ESNAC Socket connect failed
7/10/2013 3:20:08 PM Debug ESNAC 0.0.0.0
7/10/2013 3:20:10 PM Debug ESNAC Socket connect failed
7/10/2013 3:20:10 PM Debug ESNAC 192.168.1.1:8010
7/10/2013 3:20:10 PM Debug ESNAC End searching for FGT

Not sure what is preventing the VPN from connecting.

Edit: We have reset the password for the user – and are 100% sure that we have a correct username and password. In fact it is happening with two different accounts, both of which worked previously.

Best Answer

Discovered that the problem was that I had special characters in my password. There was never any indication that special characters were not permitted, but sure enough, when I reset the password to something alphanumeric, it works.

Related Topic