I'm having a tough time importing .ovpn file created with PiVPN on my RaspberryPi. When I try to import it with GNOME's GUI tool "Network" -> "Add VPN" it error out with error: unsupported blob/xml element (line 52) which is that <tls-crypt> block.
Contents of .ovpn file are:
Code: Select all
client
dev tun
proto udp
remote x.x.x.x xxxx
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server_xxxxxyyyyzzzzz name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1----
-----END OpenVPN Static key V1-----
</tls-crypt>
Running sudo openvpn --config /path/to/file works but I want to have a switch in GNOME network settings
Thank you for any help!
Matjaž