Page 1 of 1

Configuration not accepted in Android with an opaque error message

Posted: Sun Nov 24, 2019 11:16 pm
by LostPhysicist
I decided to use AES-256-CBC cipher and sha256 for authentication. So I changed it everywhere (and works fine everywhere), then finally I went to my Android phone, and I can't import any configuration anymore. Not the old one, and not the new one. I always get the error: "Selected file has incorrect profile configuration". This is the same configuration file I use on 5 other machines. All certificates and keys are in the same directory with the ovpn file.

The primary problem why I'm asking here is because I don't get any information on what the error is! Is there a log file or something where I can understand what the problem is? How can I debug this? Any hint might help.

Re: Configuration not accepted in Android with an opaque error message

Posted: Mon Nov 25, 2019 5:54 pm
by LostPhysicist
Embedding the keys and certificates into the ovpn file fixed the issue. No idea why.