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?
embedded certificates problem
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: embedded certificates problem
Please post your openvpn config file. Remove private data.
-
- OpenVpn Newbie
- Posts: 12
- Joined: Fri Mar 01, 2019 9:50 pm
Re: embedded certificates problem
TinCanTech wrote: ↑Sun Feb 07, 2021 6:55 pmPlease 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>
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>
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: embedded certificates problem
Your config looks ok ..
Openvpn-connect is a closed source and so I cannot help you any further.
Openvpn-connect is a closed source and so I cannot help you any further.
-
- OpenVpn Newbie
- Posts: 12
- Joined: Fri Mar 01, 2019 9:50 pm
Re: embedded certificates problem
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?TinCanTech wrote: ↑Sun Feb 07, 2021 10:43 pmYour config looks ok ..
Openvpn-connect is a closed source and so I cannot help you any further.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: embedded certificates problem
Arne's is the best one.