FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
dbabic
Staff
Staff
Article Id 194372

Description

 

This article describes how to connect to SSL VPN as on the first configuration when the following error shows up: 'unable to logon to server username or password might not be configured properly for this connection (-12)'.

 

Scope

 

FortiClient.

Solution

 
When configuring a new SSL VPN connection using a different port than 443, make sure to tick the 'Customize port' box before changing the port.
Indeed, if the port is changed before the box is ticked, the update will not take effect and the error will show up.
 

 

Possible Reason for this error in tunnel mode:

  1. When there custom port is not checked on the client side.
  2. When there is an authentication issue where there is a reachability for the server to authenticate the user.
  3. Compatibility issue with the FortiOS and the FortiClient.
  4. Network Connectivity issue.

If the error is faced in web mode:

  1. Ensure that cookies are enabled in the browser.
  2. If a remote authentication server is used, ensure that the FortiGate is able to communicate with it.
  3. Access to the web portal will fail if Microsoft Edge' Service Security is set to Strict. If set to Strict, Edge will block cookies that do not have a compact privacy policy, and that use personally identifiable information without explicit consent.