Page 1 of 1

Connection error

Posted: Mon Jul 13, 2020 3:54 pm
by namelessmist
Recently updated openvpn-connect version fomr 3.1.3.713 to 3.1.0.1064 if i go back to 3.1.3.713 connects fine

Now using a ovpn profile that has alwasy connected i get a error:

Code: Select all

13/07/2020, 16:46:50 Transport Error: OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
13/07/2020, 16:46:50 EVENT: CERT_VERIFY_FAIL OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed⏎13/07/2020, 16:46:50 EVENT: DISCONNECTED


Anyone any ideas?

cheers

Re: Connection error

Posted: Mon Jul 13, 2020 4:02 pm
by TinCanTech
namelessmist wrote:
Mon Jul 13, 2020 3:54 pm
Recently updated openvpn-connect version fomr 3.1.3.713 to 3.1.0.1064 if i go back to 3.1.3.713 connects fine
Looks like you got your versions wrong: 3.1.3.x is newer than 3.1.0.x ?
namelessmist wrote:
Mon Jul 13, 2020 3:54 pm
SSL routines:tls_process_server_certificate:certificate verify failed
Is it your own server ?

Re: Connection error

Posted: Thu Aug 20, 2020 10:55 pm
by margiel
On my ASUS router in log I found:

Code: Select all

Aug 21 00:28:11 ovpn-server1[32477]: xx.xx.xx.xx:4425 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 21 00:28:11 ovpn-server1[32477]: xx.xx.xx.xx:4425 TLS Error: TLS handshake failed
Aug 21 00:28:11 ovpn-server1[32477]: xx.xx.xx.xx:4425 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 21 00:28:20 ovpn-server1[32477]: xx.xx.xx.xx:6919 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Aug 21 00:28:20 ovpn-server1[32477]: xx.xx.xx.xx:6919 TLS Error: TLS handshake failed
Aug 21 00:28:20 ovpn-server1[32477]: xx.xx.xx.xx:6919 SIGUSR1[soft,tls-error] received, client-instance restarting
Aug 21 00:32:58 dnsmasq-dhcp[19076]: DHCPDISCOVER(br0) 00:d2:e6:ee:ab:77 
And in my iphone and android client i see an error:

There was an error attempting to connect to
the selected server. Error message:

Code: Select all

OpenSSLContext::SSL::read_cleartext:BIO_read failed, cap=2576 status=-1: error:1416F086:SSLroutines:tls_process_server_certificate:certificate verify failed
Today's morning everything was working but now I've got this strange error.
I don't update openvpn on iphone/android/macos and also router.

Any idea what happend ? What is the reason ?

Re: Connection error

Posted: Thu Aug 20, 2020 10:58 pm
by TinCanTech
Try turning it off and on again ..

Re: Connection error

Posted: Fri Aug 21, 2020 12:00 am
by margiel
Restart vpn server was first thing that I did. Still the same.

Re: Connection error

Posted: Fri Aug 21, 2020 9:55 am
by TinCanTech