Assume that we have all three files: *.ovpn, *.key and *.ca.
In a console window type:
$ sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome
Then:
$ sudo service network-manager restart
Then go to Settings -> Network, in the VPN option clic in Add:
Select the option "Import from file" and select the ovpn file:
Next type your user and password, last click in "Apply":
Finally you will see the vpn ready to connect:


