Error: private key password verification failed

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
jhamlyn
OpenVpn Newbie
Posts: 2
Joined: Fri Jun 10, 2011 1:15 am

Error: private key password verification failed

Post by jhamlyn » Fri Jun 10, 2011 1:19 am

I am using a private key with a password

The starting of the program does not enable me to enter the password

How do I enter he management interface and associate the password with the user key file please

2011-06-10 10:46:47 MANAGEMENT: CMD 'hold release'
2011-06-10 10:46:47 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2011-06-10 10:46:47 Cannot load private key file XXXX.key: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib
2011-06-10 10:46:47 MANAGEMENT: Client disconnected
2011-06-10 10:46:47 Error: private key password verification failed

thank you

Jeremy

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Error: private key password verification failed

Post by janjust » Fri Jun 10, 2011 8:19 am

add

Code: Select all

management-query-passwords
to the configuration and try again.

jhamlyn
OpenVpn Newbie
Posts: 2
Joined: Fri Jun 10, 2011 1:15 am

Re: Error: private key password verification failed

Post by jhamlyn » Fri Jun 10, 2011 9:34 am

This what I am using and there is no prompt or screen requesting a password

--management-query-passwords --management-hold

here is the full line ... from VPN Details ..

*Tunnelblick: openvpnstart: /Applications/Tunnelblick.app/Contents/Resources/openvpn --cd /Users/jhamlyn/Library/Application Support/Tunnelblick/Configurations --daemon --management 127.0.0.1 1337 --config /Users/jhamlyn/Library/Application Support/Tunnelblick/Configurations/Intz/intz.conf --log /Library/Application Support/Tunnelblick/Logs/-SUsers-Sjhamlyn-SLibrary-SApplication Support-STunnelblick-SConfigurations-SIntz-Sintz.conf.1_0_0_0_49.1337.openvpn.log --management-query-passwords --management-hold --script-security 2 --up /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d --down /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -m -w -d --up-restart

When I start the program does not ask for any input...

thank you for your input ...

Jeremy

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Error: private key password verification failed

Post by janjust » Fri Jun 10, 2011 10:50 am

I just tested it using tunnelblick 3.1.7 + openvpn 2.1.4 and that worked fine - a dialog popped up , asking me to enter the password (and whether it should be saved in the keychain) - perhaps your password is (wrongfully) saved in the keychain?

jkb
OpenVpn Newbie
Posts: 1
Joined: Sat Aug 14, 2010 2:12 am

Re: Error: private key password verification failed

Post by jkb » Fri Jun 10, 2011 9:25 pm

There's a bug in some versions of Tunnelblick that causes it to fail to complain about a bad username/password under certain circumstances. If you have stored a bad username/password in the Keychain (an option when entering the username/password, Tunnelblick may get the bad username/password from the Keychain, pass it to OpenVPN, and then fail without asking you for a different username/password.

See https://groups.google.com/d/topic/tunne ... discussion

Post Reply