Page 1 of 1

Can't import ovpn file because can't parse certificates

Posted: Sun Jan 15, 2023 6:28 pm
by Daimroc
I have a config file that works in windows, but when I try to use this file in the OpenVpn Android application, I get an error that says that it is not possible to parse the files ca.crt, cer.crt, cer.key and ta.key.

I have the config file and all the other files in the same folder.

My config files is this:

ca ca.crt
cer cer.crt
key cer.key
tls-auth ta.key 1

I have alse too to embedded the files in the config file, how it is explained in the documentation: https://openvpn.net/faq/i-am-having-tro ... ovpn-file/

But I still get the same error.

How I have set the certificates in the config file to can import it in the OpenVpn Android application?

Thanks.

Re: Can't import ovpn file because can't parse certificates

Posted: Mon Jan 16, 2023 6:09 pm
by openvpn_inc
Hello Daimroc,

When you import can you try selecting all files during the import procedure? Otherwise Android may not allow the app to see the additional files.

Embedding certificates should work, but I don't know how you did it, so I can't judge why that failed. I would first try selecting all files.

Kind regards,
Johan