Hello,
I am not very technical and on a massive learning curve. I have a synology NAS and installed OpenVPN around 3 years ago. It has been working just find.
Last week I was unable to connect and kept getting the message:
No server certificate verification method has been enabled.
I had made no changes to either server or client (and am the only person using either server or client) and after fruitless searching and troubleshooting, I copied the configuration and certificate from the server and re-installed on the client. No change.
After further reading of this forum, it was recommended to another with similar problem to add the line
remote-cert-tls server
When I added this line to the VPNconfig file, the error changed and now I see:
TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network)
I have not made any changes to the firewall or port-forwarding or any other configuration changes to either the router or the Synology or OpenVPN settings.
Various Logs below:
VPN Server Log
Type Date & Time Protocol User name Event
Information 2020/02/01 00:28:43 OpenVPN admin Disconnected from [Client_IP] as [172.16.0.6].
Information 2020/01/31 23:48:52 OpenVPN admin Connected from [Client_IP] as [172.16.0.6].
Information 2019/12/15 23:56:49 OpenVPN admin Disconnected from [Client_IP] as [172.16.0.6].
Information 2019/12/15 23:52:15 OpenVPN admin Connected from [Client_IP] as [172.16.0.6].
Information 2019/12/14 06:19:07 OpenVPN admin Disconnected from [Client_IP] as [172.16.0.6].
Information 2019/12/14 06:10:36 OpenVPN admin Connected from [Client_IP] as [172.16.0.6].
VPN Client Logs= - Without remote-cert-tls server
Sun Mar 08 12:15:07 2020 OpenVPN 2.3.12 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 23 2016
Sun Mar 08 12:15:07 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Mar 08 12:15:07 2020 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Enter Management Password:
Sun Mar 08 12:15:12 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Mar 08 12:15:12 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:15:12 2020 UDPv4 link remote: [AF_INET]server_IP:1194
Sun Mar 08 12:16:12 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 08 12:16:12 2020 TLS Error: TLS handshake failed
Sun Mar 08 12:16:12 2020 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 08 12:16:14 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Mar 08 12:16:14 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:16:14 2020 UDPv4 link remote: [AF_INET]server_IP:1194
Sun Mar 08 12:17:14 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 08 12:17:14 2020 TLS Error: TLS handshake failed
Sun Mar 08 12:17:14 2020 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 08 12:17:16 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Mar 08 12:17:16 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:17:16 2020 UDPv4 link remote: [AF_INET]server_IP:1194
VPN Client Log - With remote-cert-tls server
Sun Mar 08 11:59:13 2020 OpenVPN 2.3.12 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 23 2016
Sun Mar 08 11:59:13 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Mar 08 11:59:13 2020 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Enter Management Password:
Sun Mar 08 11:59:18 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 11:59:18 2020 UDPv4 link remote: [AF_INET]server_IP:1194
Sun Mar 08 12:00:18 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 08 12:00:18 2020 TLS Error: TLS handshake failed
Sun Mar 08 12:00:18 2020 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 08 12:00:20 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:00:20 2020 UDPv4 link remote: [AF_INET]server_IP:1194
Sun Mar 08 12:01:20 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 08 12:01:20 2020 TLS Error: TLS handshake failed
Sun Mar 08 12:01:20 2020 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 08 12:01:22 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:01:22 2020 UDPv4 link remote: [AF_INET]server_IP:1194
Sun Mar 08 12:02:22 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 08 12:02:22 2020 TLS Error: TLS handshake failed
Sun Mar 08 12:02:22 2020 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 08 12:02:24 2020 UDPv4 link local (bound): [undef]
Sun Mar 08 12:02:24 2020 UDPv4 link remote: [AF_INET]server_IP:1194