embedded certificates problem

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
lazna
OpenVpn Newbie
Posts: 12
Joined: Fri Mar 01, 2019 9:50 pm

embedded certificates problem

Post by lazna » Sun Feb 07, 2021 5:11 pm

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9032
Joined: Fri Jun 03, 2016 1:17 pm

Re: embedded certificates problem

Post by TinCanTech » Sun Feb 07, 2021 6:55 pm

Please post your openvpn config file. Remove private data.

lazna
OpenVpn Newbie
Posts: 12
Joined: Fri Mar 01, 2019 9:50 pm

Re: embedded certificates problem

Post by lazna » Sun Feb 07, 2021 10:35 pm

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>

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9032
Joined: Fri Jun 03, 2016 1:17 pm

Re: embedded certificates problem

Post by TinCanTech » 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.

lazna
OpenVpn Newbie
Posts: 12
Joined: Fri Mar 01, 2019 9:50 pm

Re: embedded certificates problem

Post by lazna » Mon Feb 08, 2021 8:27 am

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9032
Joined: Fri Jun 03, 2016 1:17 pm

Re: embedded certificates problem

Post by TinCanTech » Mon Feb 08, 2021 5:33 pm

Arne's is the best one.

Post Reply