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

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Daimroc
OpenVPN User
Posts: 32
Joined: Tue Feb 25, 2014 8:28 am

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

Post by Daimroc » Sun Jan 15, 2023 6:28 pm

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.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

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

Post by openvpn_inc » Mon Jan 16, 2023 6:09 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply