I am having this same problem on my iPad, but not my iPhone. Both are configured identically, use certificates, and can connect via the OpenVPN connect app. But only the iPhone can connect using the iOS Settings app.
The server log indicates the iPad isn't returning it's certificate when using the settings app. I have the certificate correctly imported using the ".ovpn12" extension, and have the ca and tls-crypt certificates embedded in the profile.
Code: Select all
OpenSSL: error:140360C7:SSL routines:ACCEPT_SR_CERT:peer did not return a certificate
TLS_ERROR: BIO read tls_read_plaintext error
TLS Error: TLS object -> incoming plaintext read error
TLS Error: TLS handshake failed
I tried deleting the certificate and profile, uninstalling the app, resetting the iPad's network settings, then reinstalling and reconfiguring the app.