Date: Tue, 10 May 2011 21:08:35 -0400 From: Kevin Wilcox <kevin.wilcox@gmail.com> To: Frank Griffith <frnkgrffth@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: OpenVPN Setup Message-ID: <BANLkTi=mHsT9LJ1bS7kHv7o=6CMU6yoXqA@mail.gmail.com> In-Reply-To: <001b01cc0f75$770ddfd0$65299f70$@yahoo.com> References: <001b01cc0f75$770ddfd0$65299f70$@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 10, 2011 at 20:50, Frank Griffith <frnkgrffth@yahoo.com> wrote: > Anyway, I tried to start the OpenVPN server on the FreeBSD server and it > will not start. I got this message: > > # openvpn /usr/local/etc/openvpn/server.conf > Tue May 10 20:35:11 2011 OpenVPN 2.2.0 amd64-portbld-freebsd8.2 [SSL] [LZO2] > [eurephia] built on May 10 2011 > Tue May 10 20:35:11 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or > higher to call user-defined scripts or executables > Tue May 10 20:35:11 2011 Cannot open dh1024.pem for DH parameters: > error:02001002:system library:fopen:No such file or directory: > error:2006D080:BIO routines:BIO_new_file:no such file > Tue May 10 20:35:11 2011 Exiting If you edit /usr/local/etc/openvpn/server.conf, it will mention ca ca.crt cert server.crt dh dh1024.pem key server.key or something similar. Each of the files it references will need to be in /usr/local/etc/openvpn/. The error "Cannot open dh1024.pem" tells you what it's trying to open that it can't find. kmw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=mHsT9LJ1bS7kHv7o=6CMU6yoXqA>