Page 1 of 1

iPhone OpenVPN error: SSL - A fatal alert message was received from our peer

Posted: Sun Sep 23, 2018 1:56 pm
by Myky
Hello All,

This is my first OpenVPN setup. Currently cannot get it working on my iPhone and getting the following error:
2018-09-23 12:25:06 EVENT: CORE_ERROR mbed TLS: error parsing config private key : SSL - A fatal alert message was received from our peer [ERR]

Created .ovpn file for MAC, the connection worked without any problems. Below my phone config file:

client
dev tun
proto udp
remote MY SERVER IP 1194
resolv-retry infinite
nobind
float
reneg-sec 3600
persist-key
persist-tun
verb 3
keepalive 10 1200
inactive 3600

+ ca + client`s cert/key

Thanks,
Myky

Re: iPhone OpenVPN error: SSL - A fatal alert message was received from our peer

Posted: Sun Sep 23, 2018 9:08 pm
by Myky
iPhone's profile had RSA line missing (e.g it was -----END PRIVATE KEY-----). Adding the RSA line resolved the issue. l can successfully connect to my server