Comment 3 for bug 132060

Revision history for this message
Tero Tilus (tero-tilus) wrote :

I had the same issue. Running Feisty, network-manager-gnome 0.6.4-6ubuntu7 and network-manager-openvpn 0.3.2snv2342-0ubuntu3. Appears that if my key is encrypted using a passphrase which contains spaces the connection fails

== syslog ==
 Oct 1 11:44:37 tero nm-openvpn[13635]: Cannot load private key file /home/tero/openvpn/tero.key: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:
error:0906A065:PEM routines:PEM_do_header:bad decrypt: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
Oct 1 11:44:37 tero nm-openvpn[13635]: Error: private key password verification failed
Oct 1 11:44:37 tero nm-openvpn[13635]: Exiting
== syslog ==

If I (don't tell mama and) decrypt the key as Philipp suggests connection works. It works also if I encrypt the key with a password which does NOT have any spaces. Looks like a pw containing spaces breaks something.