Hello,
I'm trying to load OpenVPN profile to my device but i get the following error on OpenVPN app:
Error Loading profile: Device1.ovpn
option_error: option <tls-auth> was not properly closed out
Does anybody know what this error means and how to fix it?
I followed this tutorial to setup OpenVPN on raspberry pi:
http://www.bbc.com/news/technology-33548728
side note: did not get any errors when generating/building keys or certificates
Error loading OpenVPN Profile to device
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Sep 10, 2015 4:58 am
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Error loading OpenVPN Profile to device
Please post Device1.ovpn ..
Or check that you have do this correctly:
https://community.openvpn.net/openvpn/wiki/IOSinline
Or check that you have do this correctly:
https://community.openvpn.net/openvpn/wiki/IOSinline
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Sep 10, 2015 4:58 am
Re: Error loading OpenVPN Profile to device
Figured it out. I did indeed forgot to properly close <tls-auth> in the MakeOPVN.sh script file.
Was missing the following line in my file:
Added the missing line and ran the script again. This time the profile uploaded successfully and I was able to connect to vpn server.
Problem solved!
Was missing the following line in my file:
Code: Select all
echo "</tls-auth>" >> $NAME$FILEEXT
Problem solved!