Problem with network-manager and openvpn access server profile

Yes, it is possible to use with network-manager-gnome.

First of all, you need to extract certificates from client.ovpn file which was generated by OpenVPN Access Server.

There is a pyhton script to make this process easy on: https://github.com/stackghost/gnovpn

$ wget https://raw.githubusercontent.com/stackghost/gnovpn/master/gnovpn.py
$ python3 gnovpn.py ./client.ovpn
Generated ca.crt ...
Generated config.crt ...
Generated config.key ...
Generated config-tls.key ...
Generated config.ovpn ...
Done!

After that you must configure network-manager as below:

  • Select “Password with Certificates (TLS)” as authentication type
  • Select config.crt as User Certificate
  • Select ca.crt as CA Certificate
  • Select config.key as Private Key
  • Give provided username and password
  • Click on the Advanced and TLS Authentication tab
  • Check “Use additional TLS authentication” field
  • Select config-tls.key as Key File
  • Select Key Direction as 0, 1 or none as specified in exported config.ovpn file.

It is also good to check other settings in config.ovpn file like LZO Compression, UDP or TCP protocol selection and port number.