Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

my openvpn connection failed on me, after a restart. it no longer connects to the vpn. the connections are still in the network manager. and the vpn files are still in the same folder. i get this error message:

Cannot import VPN Connection

The file 'vpn.conf' could not be read or does not contain recognized VPN connection information

Error: unknown error.

when i try to import the vpn configuration. didn't install nor update anything major before rebooting as far as i can remember. purging network-manager-gnome and reinstall didn't fix it.

i'm running ubuntu gnome 13.10 with the 3.13.2 kernel (due to haswell fixes) and gnome 3.10.1 which i upgraded to, by doing this: sudo add-apt-repository ppa:gnome3-team/gnome3 sudo add-apt-repository ppa:gnome3-team/gnome3-next sudo add-apt-repository ppa:gnome3-team/gnome3-staging sudo apt-get update sudo apt-get dist-upgrade

that is what differs on my setup from the default 13.10 install. as mentioned, i had it working perfectly, so weird that it failed me randomly.

any help and guidance is really appreciated here. i'm lost and frustrated, this is a fresh install that i invested quite some time, due to deja dup errors.



i get this error: openvpn --config ~/Downloads/vpn/vpn_linux.conf Options error: --ca fails with 'ca.crt': No such file or directory Options error: --cert fails with 'vpn.crt': No such file or directory Options error: --key fails with 'vpn.key': No such file or directory Options error: Please correct these errors. that is with a freshly downloaded copy of the vpn configuration. and the files mentioned are definitely in the same folder and do exist.

after doing: sudo apt-get install ppa-purge sudo ppa-purge ppa:gnome3-team/gnome3-staging sudo ppa-purge ppa:gnome3-team/gnome3-next

i can connect to existing vpns again only. import still fails. also get error: "Unable to load VPN connection editor" when i view the vpn connection. something is broken :(

share|improve this question
Do you have t he original openvpn config files and keys? Then try launching openvpn from the terminal for more debugging with openvpn --config yourconfigfile.conf , as root and paste the output here –  tomodachi Feb 14 at 0:49
just updated the post, with the output you wanted. –  vaioonbuntu Feb 14 at 10:33
The path seems wrong to your ca.crt and vpn.key. Correct the path in the config file –  tomodachi Feb 15 at 6:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.