ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
473 stars 209 forks source link

ERROR! #197

Closed 2856571872 closed 3 years ago

2856571872 commented 3 years ago

[Error] Error Domain=me.ss-abramchuk.openvpn-adapter.error-domain Code=73 "Failed to establish connection with OpenVPN server." UserInfo={NSLocalizedDescription=Failed to establish connection with OpenVPN server., me.ss-abramchuk.openvpn-adapter.error-key.message=Missing External PKI alias, me.ss-abramchuk.openvpn-adapter.error-key.fatal=true, NSLocalizedFailureReason=Unknown error.}

how to fix it?

2856571872 commented 3 years ago

I find the solution

Delete your profile in the openvpn client and then edit the .ovpn file you exported from the server and add the following line before

client-cert-not-required

Now create a new profile with using the ovpn file and try to connect