For whatever reason, my previous Fortigate client UI stopped working recently.
Since I haven’t been able to configure anything using the NetworkManager VPN GUI,
and the Fortigate binary has stopped working, something else was required
The FortiClient package, which appears to do virus scanning, etc, and
hide the VPN functionality (AFAICT), was quickly removed (after a >200Mb download)…
Single package required
The Fortigate custom openvpn is even part of the standard Fedora system repo ! :
Try to connect manually first… Run as root :
Where the value for --trusted-cert is given to you in the debug message,
if openfortivpn fails to have a certificate that matches the VPN destination.
When it works, the connection messages for openfortivpn will look like :
Making it simpler
Having made sure the connection works on the command line,
put the known-good parameters into /etc/openfortivpn/config (edit as root):
And now the VPN connection can be opened with a simple (run as root) :