SOLVED: Amahi 10 OpenVPN - TLS handshake failed

irishxlink
Posts: 43
Joined: Tue Dec 22, 2009 8:50 am

SOLVED: Amahi 10 OpenVPN - TLS handshake failed

Postby irishxlink » Fri Jun 02, 2017 9:16 am

Hi,

I have been troubleshooting for a bit after a fresh install of Amahi 10 on Fedora 25. I even followed the wiki after noticing that i was getting a TLS handshake failed message. However i am still getting the same error after following the guide and restarting openvpn@amahi.

For the record i am using the HDAConnect but i get the same error when i use my OpenVPN client with the certs and config. Any help or suggestions would be greatly appreciated.




Fri Jun 02 12:04:36 2017 Restart pause, 2 second(s)
Fri Jun 02 12:04:38 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Fri Jun 02 12:04:38 2017 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Jun 02 12:04:38 2017 Re-using SSL/TLS context
Fri Jun 02 12:04:38 2017 LZO compression initialized
Fri Jun 02 12:04:38 2017 Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:0 ]
Fri Jun 02 12:04:38 2017 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Jun 02 12:04:38 2017 Local Options hash (VER=V4): '9e7066d2'
Fri Jun 02 12:04:38 2017 Expected Remote Options hash (VER=V4): '162b04de'
Fri Jun 02 12:04:38 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Jun 02 12:04:38 2017 UDPv4 link local: [undef]
Fri Jun 02 12:04:38 2017 UDPv4 link remote: **ServerIP**:1194
Fri Jun 02 12:04:38 2017 TLS: Initial packet from **ServerIP**:1194, sid=bcd8d91a cbd6eab9
Fri Jun 02 12:04:38 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jun 02 12:04:38 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: /CN=Amahi
Fri Jun 02 12:04:38 2017 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Fri Jun 02 12:04:38 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jun 02 12:04:38 2017 TLS Error: TLS handshake failed
Fri Jun 02 12:04:38 2017 TCP/UDP: Closing socket
Fri Jun 02 12:04:38 2017 SIGUSR1[soft,tls-error] received, process restarting
Fri Jun 02 12:04:38 2017 Restart pause, 2 second(s)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi 10 OpenVPN - TLS handshake failed

Postby bigfoot65 » Fri Jun 02, 2017 9:52 am

Are you trying to access from outside your network?

Have you checked out the HDAConnect guidance in the wiki? There are some minor modifications needed after installing the application.

I have been using OpenVPN on my phone and iPad with no issues.

You also might want to consult the OpenVPN Troubleshooting guidance.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

irishxlink
Posts: 43
Joined: Tue Dec 22, 2009 8:50 am

Re: Amahi 10 OpenVPN - TLS handshake failed

Postby irishxlink » Fri Jun 02, 2017 11:04 am

Ahhh, exactly what it was. I did not have the updated Client Certificates.

[REMOVED LINKS]

Thanks a ton!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi 10 OpenVPN - TLS handshake failed

Postby bigfoot65 » Fri Jun 02, 2017 1:38 pm

Glad it resolved your issue.

Marking as solved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 17 guests