App doesn't detect iOS keychain certificates

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
qkk
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 17, 2021 7:52 pm

App doesn't detect iOS keychain certificates

Post by qkk » Tue Aug 17, 2021 8:09 pm

Hi

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>

After importing it to the openvpn client it does not detect certificate in the iOS keychain. However it does detect it when I import it as the ovpn12 certificate and connects succesfully.

How can I enforce on the app to use p12 certificate?
Thanks

Post Reply