[16.04] Unable to import OpenVPN configuration into Network Manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Won't Fix
|
Low
|
Unassigned |
Bug Description
In 16.04, it is currently not possible to import OpenVPN configurations. Specifically, imports fail with the error of:
The file 'filename.ovpn' could not be read or does not contain recognized VPN connection information.
Error: Key file contains line 'client' which is not a key-value pair, group, or comment.
------
An example configuration that fails to import is as follows (with some critical components excluded, like a proper remote address, or a proper x509 name); this is a config that otherwise works with a Sophos XG Firewall-based SSL VPN system
client
dev tun
persist-tun
persist-key
proto tcp
verify-x509-name "<Proper CN/DN chain>"
route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
remote 1.2.3.4 8443 tcp
ca ca.crt
cert client.crt
key client.key
auth-user-pass
cipher AES-256-CBC
auth SHA512
comp-lzo no
route-delay 4
verb 3
reneg-sec 0
------
This same exact configuration works with a direct call of `openvpn ./filename.ovpn`.
Why Network Manager is unable to parse or import the OpenVPN configuration is beyond my ability to comprehend.
Note that the same configuration made by hand in the new VPN window works fine, but the import function fails. (Which is a pretty severe bug)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-
ProcVersionSign
Uname: Linux 4.13.0-39-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
CurrentDesktop: Unity
Date: Tue May 8 14:59:54 2018
InstallationDate: Installed on 2016-12-20 (503 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: network-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in network-manager-openvpn (Ubuntu Xenial): | |
status: | New → Won't Fix |
importance: | Undecided → Low |
Is that still an issue in 18.04?