Fadim wrote
I think this error might be due to mismatched files or unsupported directives. Ensure all necessary files (CA, certificate, key) are in the same directory as your .ovpn file. Also, check that your .ovpn file doesn't contain options unsupported by your OpenVPN Connect app version. You could remove these unsupported directives or, as a less recommended option, try an older version of the app.
CA, certificate, key are written in the config itself. Do you know the list of unsupported derequests?
Right now my file looks like this:
client
dev tun
proto udp
remote **** 1914
auth-user-pass
# auth-nocache
resolv-retry infinite
nobind
persist-key
persist-tun
fragment 1300
mssfix
# ping 30
tls-client
cipher AES-256-CBC
ns-cert-type server
comp-lzo
verb 3
<ca>
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
***
-----END ENCRYPTED PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
**
-----END OpenVPN Static key V1-----
</tls-auth>