Bug 638371

Summary: KNetworkManager OpenVPN cannot connect when private key password is set
Product: [openSUSE] openSUSE 11.4 Reporter: Jan Ritzerfeld <suse>
Component: KDE4 ApplicationsAssignee: E-mail List <kde-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: D.Olsson
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jan Ritzerfeld 2010-09-09 19:15:23 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.6.30 Version/10.61

I'm trying to connect to a VPN using KNetworkManager of 11.3. My private key 
is protected by a password. KNetworkManager never asks for the password 
and the connection is thus never established. The important messages of 
the log seem to be:
Sep  6 22:29:01 karl nm-openvpn[17858]: OpenVPN 2.1.1 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jul  5 2010
Sep  6 22:29:01 karl nm-openvpn[17858]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sep  6 22:29:01 karl nm-openvpn[17858]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sep  6 22:29:42 karl NetworkManager: <info>  VPN connection 'XXX' (IP Config Get) timeout exceeded.
Sep  6 22:29:42 karl nm-openvpn[17858]: ERROR: could not read Private Key username/password/ok/string from management interface
Sep  6 22:29:42 karl nm-openvpn[17858]: Exiting

The GNOME interface seems to have a configuration setting for the password http://www.ossramblings.com/files/vpnclient.jpg but I did not find anything similar in KNetworkManager.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Ritzerfeld 2011-04-13 17:52:59 UTC
Still valid for the networkmanagement-plasmoid in openSUSE 11.4.
Comment 2 Dennis Olsson 2011-08-02 09:39:48 UTC
When are you going to look into this?

Can you confirm that the fix found in KDE bug 262555 (http://bugs.kde.org/show_bug.cgi?id=262555) has been incorporated into the openSUSE version?

When will we see a fix that (re)enables the NetworkManager to setup OpenVPN connections?

I am using openSUSE 11.4 with Tumbleweed having
  NetworkManager-0.8.2-15.24.1
with
  NetworkManager-openvpn-0.8.2-6.1
  NetworkManager-openvpn-kde4-0.9.1git20110503-5.1
  NetworkManager-openvpn-lang-0.8.2-6.1

or more specific:

$ rpm -qa '*etwork*' | sort
NetworkManager-0.8.2-15.24.1.x86_64
NetworkManager-glib-0.8.2-15.24.1.x86_64
NetworkManager-kde4-0.9.svn1192577-7.2.x86_64
NetworkManager-kde4-libs-0.9.1git20110503-5.1.x86_64
NetworkManager-kde4-libs-lang-0.9.1git20110503-5.1.noarch
NetworkManager-novellvpn-0.7.2.r1138-12.1.x86_64
NetworkManager-novellvpn-kde4-0.9.1git20110503-5.1.x86_64
NetworkManager-openvpn-0.8.2-6.1.x86_64
NetworkManager-openvpn-kde4-0.9.1git20110503-5.1.x86_64
NetworkManager-openvpn-lang-0.8.2-6.1.noarch
NetworkManager-pptp-0.8.2-4.1.x86_64
NetworkManager-pptp-kde4-0.9.1git20110503-5.1.x86_64
NetworkManager-pptp-lang-0.8.2-4.1.noarch
NetworkManager-strongswan-kde4-0.9.1git20110503-5.1.x86_64
NetworkManager-vpnc-0.8.2-4.1.x86_64
NetworkManager-vpnc-kde4-0.9.1git20110503-5.1.x86_64
NetworkManager-vpnc-lang-0.8.2-4.1.noarch
glib-networking-2.27.90-5.1.x86_64
kdenetwork4-filesharing-4.6.5-7.1.x86_64
libproxy1-networkmanager-0.4.6-3.9.1.x86_64
yast2-network-2.20.12-0.3.1.x86_64
Comment 3 Jan Ritzerfeld 2012-05-17 14:42:47 UTC
Works for me now using openSUSE 12.1.