Description
This article describes how to rectify the 'failed to establish the VPN connection', and '5029 error'.
Scope
FortiGate.
Solution
While connecting the FortiClient, the following error may appear.
SSLVPN Associated Interface:
When SSL VPN is listening on multiple interfaces, ensure the User/Group is mapped to the required interfaces:
config vpn ssl settings
config authentication-rule
edit 1
set source-interface "port7"
set source-address "US"
set users "sslsplit"
set portal "tunnel-access"
next
edit 2
set source-interface "port8"
set source-address "US"
set groups "ZTNA_Machine_Auth"
set portal "full-access"
next
end
In this example, the user 'sslsplit' will fail to connect to the portal 'tunnel-access' if attempting to connect via the second interface port8 as there is no mapping for port8 for this user.
Server Certificate:
If all steps have been followed by and still getting the same error to connect, make sure to check the server certificate is set and not empty. This can be verified under SSL-VPN Setting -> Server.
Certificate: change it accordingly.
After the certificate has been set, it will be possible to connect to SSL-VPN.
Another possible reason for this error, if the above steps did not help, is if FortiGate uses a self-signed certificate as an SSL VPN server certificate and there is another firewall in between which performs certificate inspection.
In the following packet capture, the client sent an alert (Level: Fatal, Description: Illegal Parameter) after the 'Certificate, Server key Exchange, Server Hello Done'.
The solution is to either:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.