Re: openvpn connection failed




There is problem because NM add
g_ptr_array_add (openvpn_argv, (gpointer) "--ns-cert-type");
g_ptr_array_add (openvpn_argv, (gpointer) "server");

And openvpn can't connect to server =(
After i'm removed this lines - connection is established, but now - nm
deletes default route in eth0 (192.168.0.1) and not add nothing.
Can You Help me ?


On Thu, 2008-05-08 at 13:35 +0400, Vasiliy G Tolstov wrote:
> I'm using networkmanager with freebsd openvpn server.
> When i'm connect with openvpn client.conf to server - all ok
> 
> client
> dev tap
> proto udp
> remote 85.235.196.138 1194
> nobind
> #user vlad
> #group vlad
> persist-key
> persist-tun
> ca      /root/vpn/cacert.pem
> cert    /root/vpn/vase_vpn.crt
> key     /root/vpn/vase_vpn.key
> cipher BF-CBC 
> comp-lzo
> verb 3
> mute 20
> 
> 
> 
> But if i'm try to connect with netwokmanager (openvpn plugin) -
> connection fails with messages in /var/log/messages 
> (connection to server after that does not close)
> 
> May  8 13:31:38 vase nm-openvpn[20444]: TLS Error: TLS object ->
> incoming plaintext read error
> May  8 13:31:38 vase nm-openvpn[20444]: TLS Error: TLS handshake failed
> May  8 13:31:38 vase nm-openvpn[20444]: SIGUSR1[soft,tls-error]
> received, process restarting
> May  8 13:31:40 vase nm-openvpn[20444]: Re-using SSL/TLS context
> May  8 13:31:40 vase nm-openvpn[20444]: LZO compression initialized
> May  8 13:31:40 vase nm-openvpn[20444]: UDPv4 link local: [undef]
> May  8 13:31:40 vase nm-openvpn[20444]: UDPv4 link remote:
> 85.235.196.138:1194
> May  8 13:31:41 vase nm-openvpn[20444]: TLS_ERROR: BIO read
> tls_read_plaintext error: error:14090086:SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
> May  8 13:31:41 vase nm-openvpn[20444]: TLS Error: TLS object ->
> incoming plaintext read error
> May  8 13:31:41 vase nm-openvpn[20444]: TLS Error: TLS handshake failed
> May  8 13:31:41 vase nm-openvpn[20444]: SIGUSR1[soft,tls-error]
> received, process restarting
> May  8 13:31:43 vase nm-openvpn[20444]: Re-using SSL/TLS context
> May  8 13:31:43 vase nm-openvpn[20444]: LZO compression initialized
> May  8 13:31:43 vase nm-openvpn[20444]: UDPv4 link local: [undef]
> May  8 13:31:43 vase nm-openvpn[20444]: UDPv4 link remote:
> 85.235.196.138:1194
> May  8 13:31:43 vase nm-openvpn[20444]: TLS_ERROR: BIO read
> tls_read_plaintext error: error:14090086:SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
> May  8 13:31:43 vase nm-openvpn[20444]: TLS Error: TLS object ->
> incoming plaintext read error
> May  8 13:31:43 vase nm-openvpn[20444]: TLS Error: TLS handshake failed
> May  8 13:31:43 vase nm-openvpn[20444]: SIGUSR1[soft,tls-error]
> received, process restarting
> May  8 13:31:45 vase nm-openvpn[20444]: Re-using SSL/TLS context
> May  8 13:31:45 vase nm-openvpn[20444]: LZO compression initialized
> May  8 13:31:45 vase nm-openvpn[20444]: UDPv4 link local: [undef]
> May  8 13:31:45 vase nm-openvpn[20444]: UDPv4 link remote:
> 85.235.196.138:1194
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
-- 
Vasiliy G Tolstov
http://selfip.ru


Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]