I recently have upgraded to Ubuntu 20.04. Everything works fine except that every time I want to connect to a VPN network with openconnect I have to enter My username and It asks me to validate the certificate. I connect to VPN network using a gnome plugin for openconnect: "network-manager-openconnect-gnome". This can be very frustrating since I have to switch between VPN connection and normal Internet connection frequently.
I found a solution by modifying manually the vpn configuration file in the
/etc/NetworkManager/system-connections/
folder./etc/NetworkManager/system-connections/
folder,Enjoy your automatic VPN login..
For some reason I could not get this to work by editing the file. However the workaround by
Etienne CHAMPETIER
, from https://bugzilla.redhat.com/show_bug.cgi?id=1332491#c24 works:I had to setup group_list, username and save_passwords.
I managed to make it without rebooting