Fortinetclient SSL VPN Unable to use system's key store / Object does not exist at path
Hello,
I'm trying to configure a simple SSL VPN using FortiClient on a fresh install of Ubuntu 22.04.4 LTS.
Fortigate seems to be correctly configured (7.2.8): used from MacOSX, and Windows works flawlessly.
I'm installing a Linux Fortinate client using CLI (no GUI) - FortiClient Version: 7.2.4.0809 (installed following section "Ubuntu 22.04 LTS" for 7.2 from https://www.fortinet.com/support/product-downloads/linux ).
Setting up a new connection seems trivial:
ubuntu@ip:~$ forticlient vpn edit myvpn
=====================
Edit personal VPN profile:myvpn
=====================
Type (1.SSL VPN / 2.IPsec VPN) [default=1]: 1
Remote Gateway: 1.2.3.4
Port [default=443]: 7443
Authentication (1.prompt / 2.save / 3.disable) [current=prompt]:1
Certificate Type (1.local (pkcs12) / 2.smartcard (pkcs11) / 3.disable) [current=disable]:3
Hovewer, after the last response during the above configuration stage, I was initially getting:
Unable to use system's key store: The name org.freedesktop.secrets was not provided by any .service files.
DONE.
After that, I found the information below should alleviate the issue (please remember that my environment is CLI only):
sudo apt install gnome-keyring
This changed the error to:
Unable to use system's key store: Object does not exist at path “/org/freedesktop/secrets/collection/login”.
DONE.
Also, ignoring the above errors (if this is not just an informational message) and trying:
ubuntu@ip:~$ forticlient vpn connect myvpnI am getting the following error:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 26) > this->size() (which is 24)
Aborted (core dumped)
Any idea how to approach troubleshooting or what may resolve this issue? What am I missing?
Thanks.
Regards,
S.
