Cannot import .ovpn file with inline certificates

Bug #1485011 reported by Antti Nilakari
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

$ apt-cache policy network-manager-openvpn
network-manager-openvpn:
  Installed: 0.9.10.0-1ubuntu1
  Candidate: 0.9.10.0-1ubuntu1
  Version table:
 *** 0.9.10.0-1ubuntu1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ vivid/universe i386 Packages
        100 /var/lib/dpkg/status

It is not possible to import an OpenVPN configuration file that has inline certificates marked in html-style tags if the VPN configuration in question uses certificate-based authentication.

After choosing to import an existing OpenVPN connection and selecting the .ovpn file, the VPN editor dialog opens normally but the connection cannot be saved, as the Save button is greyed out. The certificate file selector buttons say "(None)". Expectation: it should be possible to press the Save button and optionally show that the file uses inline certs, or the edit dialog should be skipped completely.

There is a workaround: rip all the certificates out of the .ovpn file and put them in external files, e.g. take the contents of the <tls-auth></tls-auth> tag pair, put it in a file called foo.key and replace the tagged part with "tls-auth foo.key". However, this beats the whole purpose of putting all certs in a single file.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager-openvpn 0.9.10.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic i686
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: i386
CurrentDesktop: LXDE
Date: Fri Aug 14 17:51:14 2015
InstallationDate: Installed on 2014-11-18 (269 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
SourcePackage: network-manager-openvpn
UpgradeStatus: Upgraded to vivid on 2015-06-30 (45 days ago)

Revision history for this message
Antti Nilakari (andyn) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-openvpn (Ubuntu):
status: New → Confirmed
Changed in network-manager-openvpn (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.