OpenVPN Client Connecting Help.
Posted: Sun Aug 30, 2015 2:07 am
Hello Community,
I have an Asus RT-AC87R which CLAIMS it run as an OpenVPN Server. I turn it on and export a configuration client.ovpn file that contains this information.
client
dev tun
proto udp
remote DELETED.asuscomm.com 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
DELETED FOR SECURITY
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
DELETED FOR SECURITY
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
DELETED FOR SECURITY
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
I take this configuration file "client.ovpn" and copy it into the "config" folder of open VPN.
I then open the ovpn client as an administrator and when the client tries to connect it asks for a Username and Password as it should, and I enter the requested information that I have setup on the server. I then precede to get this error message.
VERIFY ERROR: depth=0, error=unsupported certificate purpose: C=TW, ST=TW, L=Taipei, O=ASUS, CN=client, emailAddress=me@myhost.mydomain
TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
I am totally befuddled by what I am doing wrong. Am I suppose to change the name of the "client.ovpn" file to something else? Such as "(client-name).ovpn"? I am just so lost here, I checked firewalls
On the router/server side this is the error message I get in the system log.
01:45:13 openvpn[8252]: 70.193.209.217:8541 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:13 openvpn[8252]: 70.193.209.217:8541 TLS Error: TLS handshake failed
Aug 30 01:45:13 openvpn[8252]: 70.193.209.217:8541 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 TLS Error: TLS handshake failed
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 TLS Error: TLS handshake failed
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 SIGUSR1[soft,tls-error] received, client-instance restarting
Thank you for taking the time to read this and I eagerly await a response.
I have an Asus RT-AC87R which CLAIMS it run as an OpenVPN Server. I turn it on and export a configuration client.ovpn file that contains this information.
client
dev tun
proto udp
remote DELETED.asuscomm.com 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
DELETED FOR SECURITY
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
DELETED FOR SECURITY
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
DELETED FOR SECURITY
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
I take this configuration file "client.ovpn" and copy it into the "config" folder of open VPN.
I then open the ovpn client as an administrator and when the client tries to connect it asks for a Username and Password as it should, and I enter the requested information that I have setup on the server. I then precede to get this error message.
VERIFY ERROR: depth=0, error=unsupported certificate purpose: C=TW, ST=TW, L=Taipei, O=ASUS, CN=client, emailAddress=me@myhost.mydomain
TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
I am totally befuddled by what I am doing wrong. Am I suppose to change the name of the "client.ovpn" file to something else? Such as "(client-name).ovpn"? I am just so lost here, I checked firewalls
On the router/server side this is the error message I get in the system log.
01:45:13 openvpn[8252]: 70.193.209.217:8541 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:13 openvpn[8252]: 70.193.209.217:8541 TLS Error: TLS handshake failed
Aug 30 01:45:13 openvpn[8252]: 70.193.209.217:8541 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 TLS Error: TLS handshake failed
Aug 30 01:45:15 openvpn[8252]: 70.193.209.217:8520 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 TLS Error: TLS handshake failed
Aug 30 01:45:18 openvpn[8252]: 70.193.209.217:8527 SIGUSR1[soft,tls-error] received, client-instance restarting
Thank you for taking the time to read this and I eagerly await a response.