[oconf] Errors in a very basic config file

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
deliverator
OpenVpn Newbie
Posts: 2
Joined: Fri Jul 12, 2019 2:22 am

[oconf] Errors in a very basic config file

Post by deliverator » Wed Mar 01, 2023 7:46 pm

Hello,

I am trying to set up OpenVPN for use with my employer's network on Windows 11. config.log shows the following error when I attempt to connect - I don't see any syntax issues, but I am a newbie:
Options error: Unrecognized option or missing or extra parameter(s) in config.ovpn:21: ca (2.6.0)
What am I missing?

Windows 11 Client Config
client
dev tun0
proto udp
remote 82.94.187.34 23195
resolv-retry infinite
cipher AES-256-GCM
auth SHA256
link-mtu 1420

nobind
# Downgrade privileges after initialization
#user nobody
#group nogroup

# Try to preserve some state across restarts.
persist-key
persist-tun

mute-replay-warnings

ca C:\\Program Files\\OpenVPN\\config\\ca.crt
cert C:\\Program Files\\OpenVPN\config\\client.crt
key C:\\Program Files\\OpenVPN\\config\\client.key

remote-cert-tls server
verb 3

Post Reply