Page 1 of 1

OpenVPN app not connecting on iPhone, but TunnelBlick working on Mac with same .ovpn file

Posted: Mon Apr 08, 2019 8:33 pm
by albacca
I have a .ovpn file and corresponding p12 and key + username/pwd
On Mac I used Tunnelblick successfully.

On iPhone/iPad I download OpenVPN app. I managed to import the p12 but I get: error when I try to connect: “mbedTLS: ca certificate is undefined.

I tried to follow "How do I use a client certificate and private key from the iOS Keychain?" from ... -undefined
I've extracted ca.crt but I'm stuck on "add a reference to ca.crt to your profile:". Which "profile" are they speaking about?

Other option seems to try with openssl, but I don't understand from the explanation how to get the "root CA file" in order to apply openssl pkcs12 -export -in cert -inkey key -certfile ca -name MyClient -out client.ovpn12

I guess it's something very basic, I don't know much about certificates.