Starting with Ubuntu 19.04 (maybe even before) every time I want to connect to a Cisco AnyConnect VPN profile from the Network Manager it shows certificate confirmation dialog box and asks for username again and again, but the password is saved.
2 Answers
The bug still exists in gnome's network manager but there is a workaround for this from RedHat folks. https://bugzilla.redhat.com/show_bug.cgi?id=1332491#c24
nmcli con mod VPNNAME vpn.secrets 'form:main:username=USERNAME','save_passwords=yes'
replace the VPNNAME with the name you have given to your vpn in network manager And replace the username with the username of your vpn.
-
I use MATE, i dont think there is a different network manager between MATE and Gnome desktops.... I don't experience this problem on 20.04 MATE.– WU-TANGDec 10, 2020 at 12:08
-
-
This worked perfectly. This was driving me mad, it only remembered the password, the exact ting i didn't want it to remeber since it was a token 😂 Jan 4, 2022 at 15:42