Page 1 of 1

OpenVPN + iOS

Posted: Fri Mar 22, 2019 4:57 pm
by steinbergs
I'm running OVPN on my CCR, Linux, Android and Windows clients can connect to it, but iOS gets error CORE_ERROR mbed TLS: error parsing config private key : PKCS5 - Requested encryption or digest alg not available [ERR]

On google the only solution I found was to export the private certificate without a passphrase. Maybe someone has any ideas?

The config file:

client
dev tun
proto tcp-client
remote 1.2.3.4
port 1194
nobind
persist-key
tls-client
remote-cert-tls server
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
-----END ENCRYPTED PRIVATE KEY-----
</key>
auth-nocache
cipher AES-256-CBC
redirect-gateway autolocal