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

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Myky
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 23, 2018 12:55 pm

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

Post by Myky » Sun Sep 23, 2018 1:56 pm

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

Myky
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 23, 2018 12:55 pm

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

Post by Myky » Sun Sep 23, 2018 9:08 pm

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

Post Reply