OpenVPN Connect fails to import valid ovpn file
Posted: Sat Nov 09, 2019 10:13 pm
I created a perfectly valid ovpn file to import onto an iOS phone. I repeatedly got an error that said "file is not UTF8".
I ran it through multiple apps to convert/check it. I used a hex editor to examine the file. Nothing was there except plain text.
Finally, I tried changing the line endings from "Windows" to "Unix". Then the file worked.
So, the error was incorrect. It wasn't reading it because of the line-endings but also, can you please make the client handle CR/LF line endings?
I ran it through multiple apps to convert/check it. I used a hex editor to examine the file. Nothing was there except plain text.
Finally, I tried changing the line endings from "Windows" to "Unix". Then the file worked.
So, the error was incorrect. It wasn't reading it because of the line-endings but also, can you please make the client handle CR/LF line endings?