Page 1 of 1
server.conf:78: ca (2.2.2)
Posted: Wed Apr 04, 2012 3:41 pm
by demoness
I'm trying to set up a server on centos 6.2 with vpn 2.2.2 and when I try to start the server with the command: openvpn server.conf
the fowling error comes up: Options error: Unrecognized option or missing parameter(s) in server.conf:78: ca (2.2.2)
can anyone tell me what's happening, please?
Thanks
Re: server.conf:78: ca (2.2.2)
Posted: Wed Apr 04, 2012 3:49 pm
by george
Please post your server config.
Re: server.conf:78: ca (2.2.2)
Posted: Wed Apr 04, 2012 4:01 pm
by demoness
port 1194
proto udp
dev tun
ca ca.crt (looks like the problem is here, I've tried to put the full path to the file but it doesn't work anyway.
cert server.crt
key /server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
I have generated the keys for the server and the client.
Re: server.conf:78: ca (2.2.2)
Posted: Thu Apr 05, 2012 12:09 pm
by george
What OS are you running the server on?
Re: server.conf:78: ca (2.2.2)
Posted: Thu Apr 05, 2012 3:32 pm
by demoness
It's on CentOS 6.2.
Re: server.conf:78: ca (2.2.2)
Posted: Mon Apr 09, 2012 12:42 pm
by george
Have you tried using absolute path to your cert and key files?
ca /etc/openvpn/easy-rsa/keys/ca.crt
Re: server.conf:78: ca (2.2.2)
Posted: Tue Apr 10, 2012 11:17 am
by demoness
yes, I have, it gives the same error.