I have a problem with adding .p12 certificate to iOS keychain, so app can detect it.
I have credentials in .crt and .key file and I used instruction over here https://openvpn.net/faq/how-do-i-use-a- ... -keychain/ to generate .ovpn12 file. Then I renamed it to .p12 and imported it to the iOS Keychain. I used following openvpn configuration:
Code: Select all
client
dev tun
proto udp
remote host port
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
verb 3
cipher AES-256-GCM
auth SHA256
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
cert here
-----END CERTIFICATE-----
</ca>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
key here
-----END OpenVPN Static key V1-----
</tls-auth>
How can I enforce on the app to use p12 certificate?
Thanks