2

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.

1
  • Did you find a solution for this?
    – Filbuntu
    Dec 28, 2019 at 7:03

2 Answers 2

4

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.

3
  • 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-TANG
    Dec 10, 2020 at 12:08
  • Nice hint - works like a charm on Ubuntu 20.04
    – greew
    Nov 11, 2021 at 7:35
  • 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
1

It is a bug of gnome's network manager. It has been reported here and here, so the only solution is to wait until a fix is available or to contribute to fix the bug.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .