Page 1 of 1

embedded certificates problem

Posted: Sun Feb 07, 2021 5:11 pm
by lazna
have configuration file with embedded certificates successfully working in "OpenVPN for Android". Trying to import it to "OpenVPN Connect" from file, but got error:

Failed to import profile
Failed to parse profile ca.crt, client.crt, client.key, ta.key


But I have no such files in my device, as I already wrote: my ovpn file contain embedded certificates. Trying to search info if OpenVPN Connect support embedded certificates, but have no luck. Any ideas?

Re: embedded certificates problem

Posted: Sun Feb 07, 2021 6:55 pm
by TinCanTech
Please post your openvpn config file. Remove private data.

Re: embedded certificates problem

Posted: Sun Feb 07, 2021 10:35 pm
by lazna
TinCanTech wrote:
Sun Feb 07, 2021 6:55 pm
Please post your openvpn config file. Remove private data.
Client config
client
dev tun
proto udp
remote server_hostname 1194
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3


<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>
<cert>
Certificate:
Data:

-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>

Re: embedded certificates problem

Posted: Sun Feb 07, 2021 10:43 pm
by TinCanTech
Your config looks ok ..

Openvpn-connect is a closed source and so I cannot help you any further.

Re: embedded certificates problem

Posted: Mon Feb 08, 2021 8:27 am
by lazna
TinCanTech wrote:
Sun Feb 07, 2021 10:43 pm
Your config looks ok ..

Openvpn-connect is a closed source and so I cannot help you any further.
thanks anyway. I am also tried 'OpenVPN for Android' from Arne Schwabe, it succesfully connect but there is a problem with packets forwarding to its virtual interface. Is there any other OpenVPN client for Android I should try?

Re: embedded certificates problem

Posted: Mon Feb 08, 2021 5:33 pm
by TinCanTech
Arne's is the best one.