Since Ubuntu 18.04 (bionic), you can connect with the regular network manager by simply installing the package network-manager-fortisslvpn-gnome. Find it in Software or do:
sudo apt install network-manager-fortisslvpn-gnome
(This will also install dependencies openfortivpn and network-manager-fortisslvpn.)
Then you can click Edit connections in network manager (right-click the Wi-Fi icon), + to add a new one, select type Fortinet SSLVPN under the VPN heading. Give it a name, then under Gateway put in the IP address (and optionally port separated by colon, e.g., 11.22.33.44:44443) and username/password. Note that you may have to click the little symbol in the password field to select who has access to the password before you're allowed to type anything in that text field.
Save and right-click the Wi-Fi icon again, click VPN and pick the name you chose.
Gateway certificate validation
If it doesn't work, that may be because you need to trust a certificate. If you have the certificate fingerprint, you can edit your connection and add it under Advanced→Trusted certificate. If you don't know your certificate, this post explains how to find it from the terminal.
$ journalctl -xe | grep "NetworkManager.*ERROR"
ERROR: Gateway certificate validation failed, and the certificate digest in not in the local whitelist. If you trust it, rerun with:
ERROR: --trusted-cert 1234af...
ERROR: or add this line to your config file:
ERROR: trusted-cert = 1234af...
