There is a work around for this, but it isn't as simple as it should be. I can confirm that in 18.04.2 LTS that you can't import the p12 cert into it. However if you manually extract out the crt, key and ca from the p12 file, you can select them manually for an openvpn for each file, and that does work. I used the following commands to do it, and this was successful on 18.04.2
Private Key openssl pkcs12 -in client.p12 -nocerts -nodes | sed -ne '/-BEGIN PRIVATE KEY-/,/-END PRIVATE KEY-/p' > client.key Public Certificate openssl pkcs12 -in client.p12 -clcerts -nokeys | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > client.cer CA Certificate openssl pkcs12 -in client.p12 -cacerts -nokeys -chain | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > client-ca.cer Just replace the "client" part of the lines above with your file. It is a pain that you have to do this, but it does work. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager-openvpn in Ubuntu. https://bugs.launchpad.net/bugs/780717 Title: Using PKCS#12 file requires password for private key Status in network-manager-openvpn package in Ubuntu: Confirmed Bug description: Binary package hint: network-manager-openvpn network-manager-openvpn allows to specify PKCS#12 files instead of sep. files for CA, cert and key. That's wonderful. There's one problem though: When specifying a *.p12 file, one HAS to enter a "Private key password" even if the PKCS#12 is not password protected at all. When specifying sep. files for CA, cert and key, entering the "Private key password" is optional. Not when using the PKCS#12 file. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: network-manager-openvpn-gnome 0.8.1+git.20100810t173015.1711d04-0ubuntu2 ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4 Uname: Linux 2.6.38-9-generic x86_64 Architecture: amd64 Date: Tue May 10 21:48:08 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413) ProcEnviron: LANGUAGE=en_US:en LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager-openvpn UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/780717/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

