Page 1 of 1

TLS Error: TLS handshake failed

Posted: Mon May 28, 2018 3:31 pm
by Steeven
Hi,

I try to connect to a Windows 2012 R2 Server hosted in VMWare from a Windows 10 Client. The firewalls are configured with the UDP and TCP ports number 1194 open and when I connect with OpenVPN I have the following messages : TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity); TLS Error: TLS handshake failed

Could you help me please?
Thanks

Re: TLS Error: TLS handshake failed

Posted: Mon May 28, 2018 4:09 pm
by bbuckm
I did something very similar. OpenVPN on an Amazon AWS EC2 instance running WIndows Server 2016. Client was OpenVPN running on a WIndows 10 PC. There were a few weird tricks I had to include.

Re: Doesn't have a valide IP configuration

Posted: Wed May 30, 2018 3:05 pm
by Steeven
Hi,

I find the reason of the previous error. The problem come from the TAP-WINDOWS Adapter (version 9) who doesn't have a valid IP configuration. Instead of the re install, deactivation or reboot server, the issue is not resolved

If someone has an idea? Thanks

Re: TLS Error: TLS handshake failed

Posted: Wed May 30, 2018 3:26 pm
by TinCanTech
We have no information to work with .....

Please see:
HOWTO: Request Help !

Re: Doesn't have a valide IP configuration

Posted: Wed May 30, 2018 5:04 pm
by bbuckm
Steeven wrote:
Wed May 30, 2018 3:05 pm
If someone has an idea? Thanks
Please see the sample configuration for Windows 2016 I posted in the other thread. It might give you some ideas.

Re: TLS Error: TLS handshake failed

Posted: Mon Jun 04, 2018 1:49 pm
by Steeven
Hi,
the issue is solved
the problem came from the firewall on the gateway who blocked the UDP protocol. I just need to declare the 1194 port with UDP protocol into the gateway config panel (in a local network) or declare the public IP of the OpenVPN server with the same port for UDP protocol.

Thanks!