networkmanager-openvpn does not support pkcs12

Bug #225133 reported by Edouard Lafargue
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: network-manager

The OpenVPN plugin in networkmanager does not support X509 certificates embedded inside a PKCS#12 file: this file format embeds the X509 certificate along with its private key in a single password-protected file, and is very often used instead of separate X509 + private key files. The plugin should allow the user to select a single PKCS#12 file (.p12 extension usually) instead of requiring the user to select one X509 file and a separate key file.

Revision history for this message
Alexander Sack (asac) wrote :

is this still a problem with NM 0.7 that we ship in intrepid?

Changed in network-manager:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Yes :)

Revision history for this message
WheelDweller (wheeldweller-deactivatedaccount) wrote :

Not only "Yes", but is there some manual workaround for it? My understanding of certificates is on-par with my understanding of how network television shows are picked. :)

NetworkManager (0.7) mentions a "User Certificate", is this what they're talking about?

Revision history for this message
Edouard Lafargue (edouard-lafargue) wrote : Re: [Bug 225133] Re: networkmanager-openvpn does not support pkcs12

On Sun, Dec 28, 2008 at 8:52 AM, WheelDweller <email address hidden> wrote:
> Not only "Yes", but is there some manual workaround for it? My
> understanding of certificates is on-par with my understanding of how
> network television shows are picked. :)
>
> NetworkManager (0.7) mentions a "User Certificate", is this what they're
> talking about?

  There is no manual workaround except using openvpn from the command
line. Basically, in order to connect to an OpenVPN server using
certificates, you need to things: a user certifiate (obviously) and
the associated "private key" that goes with the certificate. OpenVPN
enables you to specify these two elements either as two separate files
(cert file and key file), or as a single standardised (PKCS#12) bundle
that contains both certifiate and private key and is usually protected
by a password. The idea is to add an option to choose either PKCS#12
or Certificate + key files in the configuration dialog.

   As a sidenote, using P12 is much more convenient, and is, to the
best of my knowledge, the most common way of handling
certificate+private key short of storing them in a smart card or
security dongle.

Revision history for this message
Alexander Sack (asac) wrote :

Alexander Sack wrote:
> is this still a problem with NM 0.7 that we ship in intrepid?
>
>
i think this might be fixed in final 0.7 ... its available for intrepid
and jaunty in NM team ppa:
https://edge.launchpad.net/~network-manager/+archive

can you confirm?

Revision history for this message
TomasKovacik (nail-nodomain) wrote :

WheelDweller wrote:
> Not only "Yes", but is there some manual workaround for it?
workaround :
http://keystoneit.wordpress.com/2007/11/08/ubuntu-network-manager-and-openvpn/

> My
> understanding of certificates is on-par with my understanding of how
> network television shows are picked. :)
> NetworkManager (0.7) mentions a "User Certificate", is this what they're
> talking about?
>
>

Revision history for this message
Edouard Lafargue (edouard-lafargue) wrote :

 NM 0.7.0 as shipped in Intrepid still only supports separate user
cert & key file, no possibility to use a P12 file as is - other than
split it manually as described in another reply.

Ed

On Sun, Dec 28, 2008 at 2:31 PM, Alexander Sack <email address hidden> wrote:
> Alexander Sack wrote:
>> is this still a problem with NM 0.7 that we ship in intrepid?
>>
>>
> i think this might be fixed in final 0.7 ... its available for intrepid
> and jaunty in NM team ppa:
> https://edge.launchpad.net/~network-manager/+archive
>
> can you confirm?
>
> --
> networkmanager-openvpn does not support pkcs12
> https://bugs.launchpad.net/bugs/225133
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Erik (erik-lowney) wrote :

I am setting up an OpenVPN connection right now and I had to Google to get this page to get the instructions that are linked to this page in oder to get Network Manager to work.

It would be much easier to include .p12 support. :)

Mainly posting to subscribe to this 'bug'.

Revision history for this message
Jordan Erickson (lns) wrote :

In addition to supporting .P12 files, it would be soooo cool to support .ovpn files (generated by things like IPCop) to automagically import settings such as gateway, cypher, etc.. This is what the OpenVPN client for Windows does, and it's really slick. :)

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.