Jump to content
  • 0

OpenVPN problem


Question

Posted (edited)

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)

Edited by newvier21

1 answer to this question

Recommended Posts

  • 0
Posted

if it help you.

This is my configs:

client(Keenetic):

  Reveal hidden contents

server (Centos7):

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...