OpenVPN not embedding CA cert in .ovpn config


On dev v157 when OpenVPN configs are being generated, the CA certificate is in the .p12 file however as it’s not put within <ca></ca> tags in the .ovpn client config, using OpenVPN Connect app on macOS fails to connect with error:

OpenSSLContext: CA not defined

However if I put the contents of cacert.pem within <ca></ca> tags in the .ovpn file it is working.

I recommend embedding the CA cert in the .ovpn file to fix this.


Edit Same error happens on Windows

See my reply in

1 Like