OpenVPN: Buggy config dialog for "Password with Certificates (TLS)" authentication

Bug #1179062 reported by Kirill Müller
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

For an OpenVPN connection, the "VPN" tab of the configuration dialog is buggy when choosing "Password with Certificates (TLS)" authentication. Choosing a certificate file for one of the three User|CA|Private sometimes clears, sometimes sets the entries for the two other certificates that are not affected. Also, a passphrase for the private key is mandatory but shouldn't be.

Another option is to use one single PKCS#12 certificate (--pkcs12 switch for /usr/sbin/openvpn). It took me two hours to figure out that the .p12 file I was given actually can be converted to three .pem files using these commands:

openssl pkcs12 -nocerts -in YOUR_CERT.p12 -out userkey.pem
openssl pkcs12 -nokeys -clcerts -in YOUR_CERT.p12 -out usercert.pem
openssl pkcs12 -nokeys -cacerts -in YOUR_CERT.p12 -out userca.pem

(taken from http://blog.stracca.net/?p=73). It would be very, very helpful to have at least a note with a helpful link in the dialog concerning PKCS#12 certificates, or, at best, if the GUI supported this type of certificate right away (perhaps through yet another authentication type "Password with Certificates (TLS) with PKCS#12 key").

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

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

Changed in network-manager (Ubuntu):
status: New → Confirmed
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.