Re: OpenVPN error problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


jbinc1@xxxxxxxxx wrote:
Hello all,

When I try to start my openvpn server ir receive this error:

Mon Aug 21 07:27:30 2006 Cannot open
etc/openvpn/openvpn/keys/dh1024.pem for DH parameters:

This looks strange

Are you /certain/ that your dh1024.pem file is found in path
/etc/openvpn/openvpn/keys
?

It looks like you either have an extra level of directory structure, or
a typo in that path. I would have expected the path to be
/etc/openvpn/keys

error:02001002:system library:fopen:No such file or directory:
error:2006D080:BIO routines:BIO_new_file:no such file
Mon Aug 21 07:27:30 2006 Exiting

Has anyone else had this problem?

Nope. And I just finished installing OpenVPN (from source) not 30
minutes ago

My server.conf file points to the correct place where the file is
located.

I successfully started the server the first time. This error happened
after I tried to restart.

Any idea what changed between the first and second runs? Did you edit
the config file any? gen new keys? anything?

I've seen some posts on this subject on other forums, but no solutions.

Any help will be greatly appreciated.

FWIW, My OpenVPN install has paths
/etc/openvpn
and
/etc/openvpn/keys

Check - see what is in /etc/openvpn
If you don't have a directory there called openvpn (with a subdirectory
called keys), then your config file got bollixed up somehow to make the
path to the keys invalid.

HTH

- --
Lew Pitcher

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12

iD8DBQFE6gG1agVFX4UWr64RAjnKAJ9MQTOLkkU58kbSb0FxfuU6H0AyJwCeKd5U
mpWC3abcUK+UsY2HzQRrvY0=
=1pcu
-----END PGP SIGNATURE-----

.



Relevant Pages

  • Re: OpenVPN passing thru ipfilter firewall.
    ... >>How can I configure the IpFilter firewall allow a mobile user (OpenVPN ... >>client) Roadwarriors connect to the OpenVPN server behind the IpFilter ... to the client in the "mode server" configuration. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: OpenVPN [was: IPSec VPN docs]
    ... Well, yeah, if 22 is the port your OpenVPN server is listening for this ... particular client. ... Typically, if the OpenVPN server is behind a firewall, most OpenVPN ...
    (Fedora)
  • Re: OpenVPN and ISA 2004
    ... OpenVPN does not use IPSec or PPTP, but rather uses SSL to encrypt the ... open a connection to the OpenVPN server from outside your firewall? ...
    (microsoft.public.isa)
  • Re: Problems with OpenVPN+routing and creating tun0 interface
    ... connect to OpenVPN server. ... configure either OpenVPN or FreeBSD to actually create that tun0 interface. ... Vaclav Haisman ...
    (freebsd-stable)
  • Re: [opensuse] user-level GUI for openVPN
    ... connection more convenient for the students in my lab. ... openVPN connection without requiring root password? ... Then make a desktop link to a short script and make sure you check ... Put your config file in /etc/openvpn/ and it will be used by the init ...
    (SuSE)