Page 1 of 1

Can't import new ovpn file

Posted: Sun Feb 21, 2021 6:31 pm
by dennish
We created a new ovpn file and when I try to import it I get:

Failed to parse profile buffer_full

My co-worker can import the same file on his Android phone. I tried via the files app and using iTunes to transfer the file.

I removed the key info and changed the IP info to just descriptions.

Code: Select all

persist-tun
persist-key
ncp-disable
cipher AES-128-CBC
auth SHA256
tls-client
client
remote [public IP1] 1194 udp
remote [public IP2] 1194 udp
auth-user-pass
remote-cert-tls server
comp-lzo adaptive
reneg-sec 0
<ca>
-----BEGIN CERTIFICATE-----
my cert stuff
-----END CERTIFICATE-----
</ca>
setenv CLIENT_CERT 0
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
more cert stuff
-----END OpenVPN Static key V1-----
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
even more cert stuff
-----END OpenVPN Static key V1-----
</tls-auth>

Re: Can't import new ovpn file

Posted: Sun Feb 21, 2021 6:38 pm
by TinCanTech
dennish wrote:
Sun Feb 21, 2021 6:31 pm
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
more cert stuff
-----END OpenVPN Static key V1-----
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
even more cert stuff
-----END OpenVPN Static key V1-----
</tls-auth>
Only one key per section is allowed.
dennish wrote:
Sun Feb 21, 2021 6:31 pm
My co-worker can import the same file
No he cannot.