Failed to connect
Posted: Wed Oct 11, 2017 8:19 pm
I wanted to change the type of key used in OpenVPN so I started with a fresh /etc/openvpn on my server,
I change part of my intiale server.conf, redo all the key, certificate, ... for both the server and the cilents.
Everything is working fine with my PC but I can't manage to connect from both android and ios openvpn connect client.
On the device I have the following error:
TCP recv EOF
Transport Error: Transport error on 'MY_IP_XXXXXX: NETWORK_EOF_ERROR'
On the server I have
TLS: Initial packet from [AF_INET]
TLS_ERROR: BIO read tls_read_plaintext error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
Fatal TLS error (check_tls_errors_co), restarting
SIGUSR1[soft,tls-error] received, client-instance restarting
On both output I've removed the IP/PORTS for anonimity
My previous config was functional on all devices. I'm generating certificates/keys specific for each device so I can connect at the same time from different devices.
On both config (old and new) I have cipher AES-256-CBC
But on new config I have
tls-cipher TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA:TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
and: tls-version-min 1.2
(no parameter on previous config, I used easy-rsa to create the keys)
android app says: OPenVPN Connect 1.1.17 (build 76), core 3.0.12, Android version is 7.0, I have turn on the openvpn toggle "Force AES-CBC Ciphersuites"
I change part of my intiale server.conf, redo all the key, certificate, ... for both the server and the cilents.
Everything is working fine with my PC but I can't manage to connect from both android and ios openvpn connect client.
On the device I have the following error:
TCP recv EOF
Transport Error: Transport error on 'MY_IP_XXXXXX: NETWORK_EOF_ERROR'
On the server I have
TLS: Initial packet from [AF_INET]
TLS_ERROR: BIO read tls_read_plaintext error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
Fatal TLS error (check_tls_errors_co), restarting
SIGUSR1[soft,tls-error] received, client-instance restarting
On both output I've removed the IP/PORTS for anonimity
My previous config was functional on all devices. I'm generating certificates/keys specific for each device so I can connect at the same time from different devices.
On both config (old and new) I have cipher AES-256-CBC
But on new config I have
tls-cipher TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA:TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
and: tls-version-min 1.2
(no parameter on previous config, I used easy-rsa to create the keys)
android app says: OPenVPN Connect 1.1.17 (build 76), core 3.0.12, Android version is 7.0, I have turn on the openvpn toggle "Force AES-CBC Ciphersuites"