Archive
Troubleshooting Tip: FortiClient TLS ‘error 5029’:…

Troubleshooting Tip: FortiClient TLS ‘error 5029’:…

2024-11-25 description This article describes how to rectify the 'failed to establish the VPN connection', '5029 error'.Solution While connect the FortiClient

Related articles

8 Japanese Tiger Tattoo Designs And Their Meanings How to Publish Your Game on Steam: A Complete Guide How to access the Tor network using Proton VPN Configure Microsoft Defender for Endpoint on iOS features Visiting Faculty FAQ Unmasking the Deepfake Threat: Cybersecurity Journalism Insights Help with Cloud Library VPN Super Unlimited Proxy: App Download & Full Review

description

This article describes how to rectify the ‘failed to establish the VPN connection’, ‘5029 error’.

Solution

While connect the FortiClient , the follow error is appear may appear .

  

This error happens because of the TLS mismatch.

Go to Internet Explorer -> Settings -> Internet options -> Advanced, scroll down, and check the TLS version.

 

 

In the image above , only TLS 1.2 is select on the client end while FortiGate does not support TLS 1.2 . check the output below .
verify the validity of the TLS setting configure on the FortiGate end as well as the TLS setting on the client end .

 

sh ful
config vpn ssl setting
    set reqclientcert disable
    set ssl – max – proto – ver tls1 – 1
    set ssl-min-proto-ver tls1-0

 

Next, select TLS 1.1 and TLS 1.0 on the client machine end or change the TLS version to 1.2 on the FortiGate end.
Change the settings on the client machine end.
As soon as settings are changed, connecting the FortiClient will be possible.

  

Server Certificate .

 

If all step here has been followed by still getting the same error to connect, make sure to check the server certificate are 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 stepdid not help is if FortiGate uses a self-signed certificate as an SSL VPN server certificate and there is another firewall in between which is performs perform 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: 

 

  1. disable certificate inspection on intermediary firewall / s.
  2. use a trust certificate sign by a public certificate authority for the SSL VPN server certificate on the FortiGate .