Configuration not accepted in Android with an opaque error message

Post Reply
LostPhysicist
OpenVpn Newbie
Posts: 2
Joined: Sun Nov 24, 2019 11:10 pm

Configuration not accepted in Android with an opaque error message

Post by LostPhysicist » Sun Nov 24, 2019 11:16 pm

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.

LostPhysicist
OpenVpn Newbie
Posts: 2
Joined: Sun Nov 24, 2019 11:10 pm

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

Post by LostPhysicist » Mon Nov 25, 2019 5:54 pm

Embedding the keys and certificates into the ovpn file fixed the issue. No idea why.

Post Reply