Can anybody help me with client config of Open VPN?
I am folowing the Howto in mikrotik wiki (http://wiki.mikrotik.com/wiki/OpenVPN)
Trying to connect from Win GUI client but I don’t understand how to get the ca certificate there. I succesfully generated the certificate on Mikrotik server side. What now? I tried to copy file private-key.pem what I’ve found in files in mikrotik router to config directory in win openvpn but it doesn’t work.
Here is my config file:
proto tcp-client
remote 192.168.11.1 1194 # Remote OpenVPN Servername or IP address
dev tun
nobind
persist-key
tls-client
ca private-key.pem # Root certificate in the same directory as this configuration file.
ping 10
verb 3
cipher AES-256-CBC
auth SHA1
pull
auth-user-pass
and here is log:
Mon Sep 29 17:29:00 2008 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Mon Sep 29 17:29:04 2008 IMPORTANT: OpenVPN’s default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Mon Sep 29 17:29:04 2008 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Mon Sep 29 17:29:04 2008 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Sep 29 17:29:04 2008 Cannot load CA certificate file private-key.pem (SSL_CTX_load_verify_locations) (OpenSSL)
Mon Sep 29 17:29:04 2008 Exiting
Thanks Tom