Hi,
I'm having trouble getting a new openvpn installation running with
tunnelblick. I'm not sure what's wrong.
1rst, when I copy my configuration files into Library/openvpn the file
permissions do not get updated as earlier. In earlier openvpn configs
I see that the *.conf file is changed with extended file attributes.
this does not happen now. I don't know if this correct or not. The
permissions are below:
Uwes-MacBook-Pro:openvpn uwe$ ls -la provider1
total 40
drwx------ 7 uwe staff 238 30 Mai 21:55 .
drwxr-xr-x 17 uwe staff 578 31 Mai 05:53 ..
-rw-r--r-- 1 root wheel 333 30 Mai 21:55 myipaddress.conf
-rw-r--r-- 1 uwe staff 1334 30 Mai 21:55 ca.crt
-rw-r--r-- 1 uwe staff 3913 30 Mai 21:55 my.crt
-rw------- 1 uwe staff 951 30 Mai 21:55 my.key
-rw-r--r-- 1 uwe staff 54 30 Mai 21:55 vpn-start-
myipaddress.bat
My logfile looks currently like this:
2011-05-31 05:42:38 *Tunnelblick: OS X 10.5.8; Tunnelblick 3.1.7
(build 2190.2413); OpenVPN 2.1.4
2011-05-31 05:42:39 *Tunnelblick: Attempting connection with
myipaddress; Set nameserver = 1; monitoring connection
2011-05-31 05:42:39 *Tunnelblick: /Applications/Tunnelblick.app/
Contents/Resources/openvpnstart start 89.151.66.233.conf 1338 1 0 0 0
49
2011-05-31 05:42:40 *Tunnelblick: kextload: /Applications/
Tunnelblick.app/Contents/Resources/tun.kext loaded successfully
2011-05-31 05:42:39 *Tunnelblick: openvpnstart: /Applications/
Tunnelblick.app/Contents/Resources/openvpn --cd /Users/uwe/Library/
Application Support/Tunnelblick/Configurations --daemon --management
127.0.0.1 1338 --config /Users/uwe/Library/Application Support/
Tunnelblick/Configurations/myipaddress.conf --log /Library/Application
Support/Tunnelblick/Logs/-SUsers-Suwe-SLibrary-SApplication Support-
STunnelblick-SConfigurations-Smy.conf.1_0_0_0_49.1338.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
2011-05-31 05:42:40 OpenVPN 2.1.4 i386-apple-darwin10.7.1 [SSL] [LZO2]
[PKCS11] built on Mar 1 2011
2011-05-31 05:42:40 MANAGEMENT: TCP Socket listening on
127.0.0.1:1338
2011-05-31 05:42:40 Need hold release from management interface,
waiting...
2011-05-31 05:42:40 MANAGEMENT: Client connected from
127.0.0.1:1338
2011-05-31 05:42:40 MANAGEMENT: CMD 'pid'
2011-05-31 05:42:40 MANAGEMENT: CMD 'state on'
2011-05-31 05:42:40 MANAGEMENT: CMD 'state'
2011-05-31 05:42:40 MANAGEMENT: CMD 'hold release'
2011-05-31 05:42:40 WARNING: No server certificate verification method
has been enabled. See
http://openvpn.net/howto.html#mitm for more
info.
2011-05-31 05:42:40 NOTE: the current --script-security setting may
allow this configuration to call user-defined scripts
2011-05-31 05:42:40 MANAGEMENT: CMD 'password [...]'
2011-05-31 05:42:40 WARNING: this configuration may cache passwords in
memory -- use the auth-nocache option to prevent this
2011-05-31 05:42:40 Cannot load private key file my.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
2011-05-31 05:42:40 MANAGEMENT: Client disconnected
2011-05-31 05:42:40 Error: private key password verification failed
2011-05-31 05:42:40 Exiting
2011-05-31 05:42:40 *Tunnelblick: Obtained VPN passphrase from the
Keychain
2011-05-31 05:42:40 *Tunnelblick: Flushed the DNS cache
I checked earlier threads that seemed to lead to mismatched passwords
but my password is correct - I checked that with 'openssl rsa -in
Library/openvpn/provider1/my.key -noout -text'
tunnelblick currently does not try to send any traffic to my vpn
server.
when I use a copy of file ca.crt, my.key, my.crt from another working
config then tunnelblick accepts the keys and starts sending traffic to
the openvpn server, but of course with the wrong key files which fail
naturally.
So I'm lost.
My tunnelblick app works fine with other configs.
my key works fine with the openssl binary.
But alltogether is failing.
any help is appreciated.
best regards,
Uwe