Setting up a config file (CA ERROR)
Posted: Thu Sep 23, 2021 11:48 am
Hello! I've been trying to setup an OpenVPN server, i was using a guide and everything was working just right, but when i had to connect the VPN it keeps failing, i have checked the log file and i get this message:
Which is weird, either "ca" option is missing or it is missing parameters, here is the line of the error:
I don't see anything wrong with it, all the files are in the right place:

The image is in spanish but you can still see the files and the path is the right one.
I hope anyone knows what's actually going on, thanks for your time!
Code: Select all
Options error: Unrecognized option or missing or extra parameter(s) in server.ovpn:78: ca (2.4.8)
Use --help for more information.
Code: Select all
# Any X509 key management system can be used.
# OpenVPN can also use a PKCS #12 formatted key file
# (see "pkcs12" directive in man page).
ca “C:\\Program Files\\OpenVPN\\config\\ca.crt”
cert “C:\\Program Files\\OpenVPN\\config\\matamor.crt”
key “C:\\Program Files\\OpenVPN\\config\\matamor.key”

The image is in spanish but you can still see the files and the path is the right one.
I hope anyone knows what's actually going on, thanks for your time!