Public bug reported:

$ 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)

** Affects: network-manager-openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 vivid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485011

Title:
  Cannot import .ovpn file with inline certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1485011/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to