←  [EN] Enduser support

Forums

»

OpenPli 7.2 and OpenVPN TLS Error (TLS Ver...

's foto Turbo 11 okt 2019

Hello there. 

 

I have a OpenVPN server (newest OpenVpn version) and I have problems to connect to it with my OpenPli 7.2 

 

I wrote a config for the client and saved it on my Reciever. When I type openvpn --config /home/configForReciever.ovpn 

 

It starts openVpn and gets TLS ERROR like this: 

Thu Jan  1 01:26:26 1970 TLS_ERROR: BIO read tls_read_plaintext error
Thu Jan  1 01:26:26 1970 TLS Error: TLS object -> incoming plaintext read error
Thu Jan  1 01:26:26 1970 TLS Error: TLS handshake failed
Thu Jan  1 01:26:26 1970 SIGUSR1[soft,tls-error] received, process restarting
Thu Jan  1 01:26:26 1970 Restart pause, 5 second(s)
 

 

I am sure it is a TLS Version Conflict and so I tried to edit the openssl.conf  As in Debian  you just need to change the TLS version but I cant find this line on my conf. So Now I dont know rly what to do.. Both OpenVPN versions are the newest versions. 

 

[system_default_sect]

MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2

 

 

Editing the ovpn file didnt helped.. I tried adding : tls-version-min 1.0

 

 

Citeren

's foto Pippin 11 okt 2019

No need to edit openssl.conf
Full logs at verb 4 please...
Veranderd door Pippin, 11 oktober 2019 - 21:20
Citeren

's foto WanWizard 11 okt 2019

Your problem is

Thu Jan  1 01:26:26 1970

which most likely is outside the valid window of your TLS certificate.

 

Make sure your box has the correct time, 

Citeren

's foto Pippin 11 okt 2019

Good catch WanWizard Put a sleep 5 or something in your start script.
Citeren

's foto Turbo 11 okt 2019

Your problem is

Thu Jan  1 01:26:26 1970

which most likely is outside the valid window of your TLS certificate.

 

Make sure your box has the correct time, 

 

hallelujah Its fixed now.. Gosh didnt saw that :D Ty man

Citeren

's foto WanWizard 11 okt 2019

I fell for it once too... ;)

Citeren