English Forums > Virtual private networks

OpnSense .ovpn export fails to import into Ubuntu 22.04 OpenVPN

<< < (3/3)

bartjsmit:
Hi Lawrence,

You don't need to store your private key in a keystore - it is part of the ovpn file in the <key> </key> stanza. You don't need to (re)import the config file, just copy it from a working machine - it is self-contained.

The errors you're seeing are caused by the store not having a trust path to a known CA. You'd need to import the OPNsense CA cert into your OS CA store. But as mentioned, you don't need to use the OS PKI since OpenVPN can override it.

On any unix implementation of the OpenVPN client, you can run it with the ovpn file as an argument and it will give you foreground diagnostics.

Do those steps give you a connection?

Bart...

Navigation

[0] Message Index

[*] Previous page

Go to full version