OpenVPN client on Raspberry Pi - Unrecognized option

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
andyd
OpenVpn Newbie
Posts: 1
Joined: Thu Jul 30, 2015 5:13 pm

OpenVPN client on Raspberry Pi - Unrecognized option

Post by andyd » Thu Jul 30, 2015 5:18 pm

Hi all,

Trying to use the OpenVPN client on my Raspberry Pi to connect to privatetunnel.com with their provided .ovpn file, but I get the following error:

root@raspberrypi:/etc/openvpn# openvpn --config London.ovpn
Options error: Unrecognized option or missing parameter(s) in London.ovpn:22: extra-certs (2.2.1)
Use --help for more information.

.ovpn contents are below (some info removed).

Any ideas?

Thanks,

Andy

setenv USERNAME "xxx@yyy.com"
client
dev tun
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 443 tcp
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 1194 udp
remote uk-ln-003.privatetunnel.com 1194 udp
remote-cert-tls server
comp-lzo no
auth SHA1
nobind
verb 3

<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</cert>

<extra-certs>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</extra-certs>

<key>
-----BEGIN RSA PRIVATE KEY-----
xxx
-----END RSA PRIVATE KEY-----
</key>

key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
xxx
-----END OpenVPN Static key V1-----
</tls-auth>
## -----BEGIN RSA SIGNATURE-----
xxx
## -----END RSA SIGNATURE-----
## -----BEGIN CERTIFICATE-----
xxx
## -----END CERTIFICATE-----
## -----BEGIN CERTIFICATE-----
xxx
## -----END CERTIFICATE-----
## -----BEGIN CERTIFICATE-----
xxx
## -----END CERTIFICATE-----

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN client on Raspberry Pi - Unrecognized option

Post by maikcat » Sat Aug 01, 2015 12:40 pm

did you used their provided binary?

Michael.

Post Reply