Community discussions

MikroTik App
 
defrag
just joined
Topic Author
Posts: 10
Joined: Wed Jul 15, 2015 11:37 pm

OVPN client and .ovpn file with ca only

Wed Dec 14, 2016 12:05 pm

Hi guys,
I'm trying to setup an ovpn connection on my mikrotik and it won't work.

The service i'm trying to connect has provided me an .ovpn file that contains <ca> section only.
client
dev tun
proto tcp
remote IP 443
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
auth-user-pass
comp-lzo
reneg-sec 0
verb 3

<ca>
-----BEGIN CERTIFICATE-----
....
-----END CERTIFICATE-----
</ca>
I copied the <ca> section to my mikrotik and imported it using Import button. It has been imported and appeared in the list.
Then I created a connection, choose the certificate and cipher.
And it won't connect. In log: TLS failed

If I choose no certificate ("none"), it can authenticate on the server using username and password provided and receive remote ip address but after a minute it disconnects. And seems packets aren't going (I think because of no certificate)

What I did wrong or this type of connection isn't supported by Mikrotik?

The .ovpn config works perfectly with Tunnelblick

Thank you.
 
3D9iWC5pFevQ
just joined
Posts: 5
Joined: Fri Feb 02, 2018 7:43 pm

Re: OVPN client and .ovpn file with ca only

Fri Feb 02, 2018 7:55 pm

I can not event make connection running. It just shows established when I set certificate to none. I am not hoping for any reply, considering the message date, just for record.