Alright, so I recreated all my certs from scratch. I can still connect like before but now I'm getting a different error:
On the server I get this:
Tue Oct 25 01:40:00 2011 192.168.1.104:49474 TLS: Initial packet from 192.168.1.
104:49474, sid=0e1c4ddb 50a4509e
Tue Oct 25 01:40:02 2011 MULTI: multi_create_instance called
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 Re-using SSL/TLS context
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 LZO compression initialized
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 Data Channel MTU parms [ L:1542 D:1
450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 Local Options hash (VER=V4): '530fd
ded'
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 Expected Remote Options hash (VER=V
4): '41690919'
Tue Oct 25 01:40:02 2011 192.168.1.104:37926 TLS: Initial packet from 192.168.1.
104:37926, sid=0a79507c 25247722
Tue Oct 25 01:40:04 2011 MULTI: multi_create_instance called
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 Re-using SSL/TLS context
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 LZO compression initialized
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 Data Channel MTU parms [ L:1542 D:1
450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 Local Options hash (VER=V4): '530fd
ded'
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 Expected Remote Options hash (VER=V
4): '41690919'
Tue Oct 25 01:40:04 2011 192.168.1.104:36865 TLS: Initial packet from 192.168.1.
104:36865, sid=bb3769ce 6f6f8920
Tue Oct 25 01:40:06 2011 MULTI: multi_create_instance called
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 Re-using SSL/TLS context
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 LZO compression initialized
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 Data Channel MTU parms [ L:1542 D:1
450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 Local Options hash (VER=V4): '530fd
ded'
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 Expected Remote Options hash (VER=V
4): '41690919'
Tue Oct 25 01:40:06 2011 192.168.1.104:48207 TLS: Initial packet from 192.168.1.
104:48207, sid=b81233c7 115cbc1b
Tue Oct 25 01:40:43 2011 192.168.1.104:48175 TLS Error: TLS key negotiation fail
ed to occur within 60 seconds (check your network connectivity)
Tue Oct 25 01:40:43 2011 192.168.1.104:48175 TLS Error: TLS handshake failed
Tue Oct 25 01:40:43 2011 192.168.1.104:48175 SIGUSR1[soft,tls-error] received, c
lient-instance restarting
Tue Oct 25 01:40:44 2011 192.168.1.104:33854 TLS Error: TLS key negotiation fail
ed to occur within 60 seconds (check your network connectivity)
Tue Oct 25 01:40:44 2011 192.168.1.104:33854 TLS Error: TLS handshake failed
Tue Oct 25 01:40:44 2011 192.168.1.104:33854 SIGUSR1[soft,tls-error] received, c
lient-instance restarting
On the client I get this:
Tue Oct 25 02:40:09 2011 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 25 02:40:09 2011 Restart pause, 2 second(s)
Tue Oct 25 02:40:11 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Oct 25 02:40:11 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Oct 25 02:40:11 2011 Re-using SSL/TLS context
Tue Oct 25 02:40:11 2011 LZO compression initialized
Tue Oct 25 02:40:11 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 25 02:40:11 2011 Socket Buffers: R=[114688->131072] S=[114688->131072]
Tue Oct 25 02:40:11 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 25 02:40:11 2011 Local Options hash (VER=V4): '41690919'
Tue Oct 25 02:40:11 2011 Expected Remote Options hash (VER=V4): '530fdded'
Tue Oct 25 02:40:11 2011 UDPv4 link local: [undef]
Tue Oct 25 02:40:11 2011 UDPv4 link remote: 192.168.1.250:1194
Tue Oct 25 02:40:11 2011 TLS: Initial packet from 192.168.1.250:1194, sid=16dd2d7d e0146f24
Tue Oct 25 02:40:11 2011 VERIFY ERROR: depth=0, error=unsupported certificate purpose: /C=US/ST=MN/L=Rochester/O=OpenVPN/OU=changeme/CN=server/name=changeme/emailAddress=mail@host.domain
Tue Oct 25 02:40:11 2011 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Tue Oct 25 02:40:11 2011 TLS Error: TLS object -> incoming plaintext read error
Tue Oct 25 02:40:11 2011 TLS Error: TLS handshake failed
Tue Oct 25 02:40:11 2011 TCP/UDP: Closing socket
Tue Oct 25 02:40:11 2011 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 25 02:40:11 2011 Restart pause, 2 second(s)
^CTue Oct 25 02:40:13 2011 SIGINT[hard,init_instance] received, process exiting
Server config:
port 1194
proto udp
dev tun
dev-node dev-tap
ca "c:\\program files\\openvpn\\easy-rsa\\keys\\ca.crt"
cert "c:\\program files\\openvpn\\easy-rsa\\keys\\server.crt"
key "c:\\program files\\openvpn\\easy-rsa\\keys\\server.key"
dh "c:\\program files\\openvpn\\easy-rsa\\keys\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client config:
client
dev tun
proto udp
remote 192.168.1.250 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
comp-lzo
pull
verb 3
Thanks,
Tony