server.conf:78: ca (2.2.2)

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
demoness
OpenVpn Newbie
Posts: 4
Joined: Wed Apr 04, 2012 3:37 pm

server.conf:78: ca (2.2.2)

Post by demoness » Wed Apr 04, 2012 3:41 pm

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

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: server.conf:78: ca (2.2.2)

Post by george » Wed Apr 04, 2012 3:49 pm

Please post your server config.

demoness
OpenVpn Newbie
Posts: 4
Joined: Wed Apr 04, 2012 3:37 pm

Re: server.conf:78: ca (2.2.2)

Post by demoness » Wed Apr 04, 2012 4:01 pm

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.

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: server.conf:78: ca (2.2.2)

Post by george » Thu Apr 05, 2012 12:09 pm

What OS are you running the server on?

demoness
OpenVpn Newbie
Posts: 4
Joined: Wed Apr 04, 2012 3:37 pm

Re: server.conf:78: ca (2.2.2)

Post by demoness » Thu Apr 05, 2012 3:32 pm

It's on CentOS 6.2.

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: server.conf:78: ca (2.2.2)

Post by george » Mon Apr 09, 2012 12:42 pm

Have you tried using absolute path to your cert and key files?
ca /etc/openvpn/easy-rsa/keys/ca.crt

demoness
OpenVpn Newbie
Posts: 4
Joined: Wed Apr 04, 2012 3:37 pm

Re: server.conf:78: ca (2.2.2)

Post by demoness » Tue Apr 10, 2012 11:17 am

yes, I have, it gives the same error.

Post Reply