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:
echo "</tls-auth>" >> $NAME$FILEEXT
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!