I'm not sure what's going on here, I've never dealt with vpns before. My workplace sent me a .zip with the openvpn configuration and several keys and certificates. I thought it was as easy to get going as typing:
$ sudo openvpn --config vpn-remote.ovpn
The output I get is:
dohko@lenovo:~|⇒ sudo openvpn --config vpn-remote.ovpn Thu Jan 17 08:27:23 2013 OpenVPN 2.2.2 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Aug 18 2012 Thu Jan 17 08:27:23 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Thu Jan 17 08:27:23 2013 Cannot load certificate file mmorales.pem: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib Thu Jan 17 08:27:23 2013 Exiting
Am I missing something? Thanks.
Last edited by dohko (2013-01-17 15:06:47)
you have to place the key and cert files in a directory, e.g. in your home, and then adjust the path to these files in the vpn-remote.ovpn file.
that should be all.
That was it, I was not running the file according to the path established on the configuration, thanks.