Hello everyone! I need help with OpenVPN.
Problem is going about 2-3 weeks since trying to make OpenVPN work properly on Keenetic and Mikrotik
Once OpenVPN isn't working because off "TLS Error: TLS handshake failed" i trying to fix that with guides that i ever can find.
After that OpenVPN on Keenitc can't connect and appear even more failure:
VERIFY ERROR: depth=0, error=unsupported certificate purpose: C=XX, O=XX, OU=IT, CN=ca
OpenSSL: error:1416F086:lib(20):func(367):reason(134)
TLS_ERROR: BIO read tls_read_plaintext error
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
Fatal TLS error (check_tls_errors_co), restarting
Service: "OpenVPN0": unexpectedly stopped.
Here is the configuration on Keenetic
client
dev tun
proto tcp
remote 9X.XXX.XXX.XXX 1194
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
XXXX
-----END ENCRYPTED PRIVATE KEY-----
</key>
<auth-user-pass>
username
password
</auth-user-pass>
remote-cert-tls server
verb 3
Does it even possible to make Mikrotic and Keenetic working properly with each other?
I hope i described my problem normaly and can get help with that problem
P.S.Configuration was taken from: https://habr.com/ru/post/269679/
(2tun)