network-manager-openvpn-gnome doesn't allow underscore (_) in ta key name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
$ apt list network-manager
network-
$ uname -a
Linux hostname 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
What you expected to happen:
Load VPN configuration either manually by browsing and selecting each cert and key file, or importing a .ovpn file. TA key name is "my_ta.key". Turn on VPN and it connects.
What happened instead:
Load VPN configuration either manually by browsing and selecting each cert and key file, or importing a .ovpn file. TA key name is "my_ta.key". In the GUI, key is renamed to "myta.key". Turn on VPN and connection is immediately rejected with authentication error.
Workaround:
The GUI will always remove the underscores from the filename once loaded, so the only way to get it to read correctly is to remove the underscores from the file itself (e.g. "myta.key"). Once this is done, the VPN connects without issue.
Thank you for bug report. Could you do
$ journalctl -f
then trigger the issue and copy the log to the bug report?