Server unable to open dh parameters
Posted: Mon Jun 10, 2013 7:12 pm
I have installed openVPN 2.2.2 and followed the how-to exactly, but I am encountering these errors (On windows xp sp 3):
Cannot open c:\program_files\openvpn\config\dh1024.pem for DH parameters: error:02001003:system library:fopen:No such process: error:2006d080:BIO routines:BIO_new_file:no such file
I have tried uninstalling openVPN, rebuilding the DH parameters file, rebooting, and changing the location of the DH parameters file in my server.ovpn file
(ie: c:\program files\openvpn\config vs c:\program_files\openvpn\config vs c:\programfiles\openvpn\config).
I have also attempted to direct openVPN towards dh1024 after placing it in my easy-rsa directory, all without success.
I would appreciate if someone could point out any mistakes I may be making.
Also, here is my server.ovpn file:
proto udp
dev tun
ca c:\\program_files\\openvpn\\config\\ca.crt
cert c:\\program_files\\openvpn\\config\\server.crt
key c:\\program_files\\openvpn\\config\\server.key
dh c:\\program_files\\openvpn\\config\\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 4
Cannot open c:\program_files\openvpn\config\dh1024.pem for DH parameters: error:02001003:system library:fopen:No such process: error:2006d080:BIO routines:BIO_new_file:no such file
I have tried uninstalling openVPN, rebuilding the DH parameters file, rebooting, and changing the location of the DH parameters file in my server.ovpn file
(ie: c:\program files\openvpn\config vs c:\program_files\openvpn\config vs c:\programfiles\openvpn\config).
I have also attempted to direct openVPN towards dh1024 after placing it in my easy-rsa directory, all without success.
I would appreciate if someone could point out any mistakes I may be making.
Also, here is my server.ovpn file:
proto udp
dev tun
ca c:\\program_files\\openvpn\\config\\ca.crt
cert c:\\program_files\\openvpn\\config\\server.crt
key c:\\program_files\\openvpn\\config\\server.key
dh c:\\program_files\\openvpn\\config\\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 4