Options error: Unrecognized option or missing parameter(s) in <my-ovpn-file>.ovpn:14: <ca> (2.0.5)
I'm running centos 6 server 64bit with openvpn-2.3.2-2.el6.x86_64, and I installed it along with easy-rsa3 from git by following these instructions:
http://tryapi.wordpress.com/2014/02/26/howto-openvpn-server-using-easy-rsa3-to-create-keys-and-certs/
The openvpn server started fine but I had to first comment out the line # group nogroup.
However when I try to connect using openvpn-gui on a windows xp machine I get the above error. The most recent openvpn-gui version i could find was openvpn-2.0.5-gui-1.0.3-install-auto_xp64.exe from the development downloads. Is there a solution for this error? or is openvpn-2.0.5 just too far behind the times?
I noticed straight away the client ovpn file generated by easy-rsa3 contained a lot more gubbins and was different to previous ovpn files I'd seen.
ps: I have installed openvpn several times on centos servers and managed to get a windows xp machine to connect but that was using easy-rsa2.0 and older versions.
This is the ovpn file that openvpn-gui (on win-xp) is complaining about:
client
dev tun
proto udp
remote <openvpn-server-ip> 34557
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
verb 3
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
blah-de-blah
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
blah-de-blah
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
blah-de-blah
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
blah-de-blah
-----END OpenVPN Static key V1-----
</tls-auth>