Unable to import .ovpn to Android - static_key_parse_error

Post Reply
lord_emperor
OpenVpn Newbie
Posts: 1
Joined: Mon Jul 15, 2019 8:13 pm

Unable to import .ovpn to Android - static_key_parse_error

Post by lord_emperor » Mon Jul 15, 2019 8:15 pm

I think this problem is related to the Android app in some way but please move my post if I'm incorrect.

I used this guide on a completely fresh Debian 10 minimal server install VM, but I have also followed the setup instructions manually using other guides and other operating systems - i.e. Ubuntu 18.04 and previously Debian 9.

Any way I set things up, when I import the .ovpn file to the Android app I get:

Failed to Import Profile
Failed to parse profile: static_key_parse_error

This is the .ovpn file generated, with keys and urls redacted:

Code: Select all

client
proto udp
remote mydomain.tld 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_d212d12d12d21 name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
<ca>
-----BEGIN CERTIFICATE-----
nine lines of gibberish here
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
ten lines of gibberish here
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
three lines of gibberish here
-----END PRIVATE KEY-----
</key>
<tls-crypt>
</tls-crypt>


Post Reply