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
server.conf:78: ca (2.2.2)
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!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- 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)
Please post your server config.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Apr 04, 2012 3:37 pm
Re: server.conf:78: ca (2.2.2)
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.
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.
-
- 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)
What OS are you running the server on?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Apr 04, 2012 3:37 pm
Re: server.conf:78: ca (2.2.2)
It's on CentOS 6.2.
-
- 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)
Have you tried using absolute path to your cert and key files?
ca /etc/openvpn/easy-rsa/keys/ca.crt
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Apr 04, 2012 3:37 pm
Re: server.conf:78: ca (2.2.2)
yes, I have, it gives the same error.