TLS Error: TLS handshake failed.but i can connect

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
mhejek
OpenVpn Newbie
Posts: 1
Joined: Sat Jun 13, 2015 12:02 pm

TLS Error: TLS handshake failed.but i can connect

Post by mhejek » Sat Jun 13, 2015 12:07 pm

hi i can connect to my server .but it will take about 30 minuts retrying
Validating certificate extended key usage
Sat Jun 13 16:39:01 2015 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sat Jun 13 16:39:01 2015 VERIFY EKU OK
Sat Jun 13 16:39:01 2015 VERIFY OK: depth=0, C=ID, ST=SB, L=Surabaya, O=Netlab, CN=rb450, emailAddress=ghieloe@yahoo.com
Sat Jun 13 16:39:59 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sat Jun 13 16:39:59 2015 TLS Error: TLS handshake failed
Sat Jun 13 16:39:59 2015 Fatal TLS error (check_tls_errors_co), restarting
Sat Jun 13 16:39:59 2015 SIGUSR1[soft,tls-error] received, process restarting
Sat Jun 13 16:39:59 2015 MANAGEMENT: >STATE:1434188399,RECONNECTING,tls-e
rror,,
Sat Jun 13 16:39:59 2015 Restart pause, 5 second(s)
Sat Jun 13 16:40:04 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sat Jun 13 16:40:04 2015 Attempting to establish TCP connection with [AF_INET]202.69.106.30:58000 [nonblock]
Sat Jun 13 16:40:04 2015 MANAGEMENT: >STATE:1434188404,TCP_CONNECT,,,
Sat Jun 13 16:40:05 2015 TCP connection established with [AF_INET]xx.xx.xx.30:5800
Sat Jun 13 16:40:05 2015 TCPv4_CLIENT link local: [undef]
Sat Jun 13 16:40:05 2015 TCPv4_CLIENT link remote: [AF_INET]xx.xx.xx.30:5800
Sat Jun 13 16:40:05 2015 MANAGEMENT: >STATE:1434188405,WAIT,,,
Sat Jun 13 16:40:05 2015 MANAGEMENT: >STATE:1434188405,AUTH,,,
Sat Jun 13 16:40:05 2015 TLS: Initial packet from [AF_INET]xx.xx.xx.30:5800, sid=a78d5034 fd2ae793
Sat Jun 13 16:40:07 2015 VERIFY OK: depth=1, C=ID, ST=SB, L=Surabaya, O=Netlab, CN=Netlab CA, emailAddress=xxxx@yahoo.com
Sat Jun 13 16:40:07 2015 Validating certificate key usage
Sat Jun 13 16:40:07 2015 ++ Certificate has key usage 00a0, expects 00a0
Sat Jun 13 16:40:07 2015 VERIFY KU OK
Sat Jun 13 16:40:07 2015 Validating certificate extended key usage
Sat Jun 13 16:40:07 2015 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sat Jun 13 16:40:07 2015 VERIFY EKU OK
Sat Jun 13 16:40:07 2015 VERIFY OK: depth=0, C=ID, ST=SB, L=Surabaya, O=Netlab, CN=rb450, emailAddress=xxxxx@yahoo.com

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: TLS Error: TLS handshake failed.but i can connect

Post by Traffic » Tue Jun 16, 2015 4:46 pm

Please post your configs.

ehlers320
OpenVpn Newbie
Posts: 2
Joined: Thu Jul 02, 2015 3:09 am

Re: TLS Error: TLS handshake failed.but i can connect

Post by ehlers320 » Thu Jul 02, 2015 3:11 am

is your system time correct on both machines ?

Post Reply