Hello all,
I have a .ovpn configuration file that works with the openvpn app. I would like to convert it to a iOS .mobileconifg file so that the user can just download the profile and the VPN turns on automatically and they don't need to install openvpn on their device.
I have found one webpage in the openvpn documenting this but detail is thin and I have tried but for some reason I still can't get it to work.
https://openvpn.net/faq/can-i-import-an-openvpn-profile-via-an-ios-mobileconfig-file/
This is what the opn config file looks like with the CA, KEY, and CERT removed.
[oconf=]client
remote vpn.safedns.com 1194 udp
nobind
dev tun
persist-tun
persist-key
verify-x509-name vpn.safedns.com name
remote-cert-tls server
cipher AES-128-CBC
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxx
-----END PRIVATE KEY-----
</key>[/oconf]
Any hints would be great.