FAQ - General

Question
OpenVPN Cannot open dh1024.pem
Answer

After setting up your OpenVPN server and client and trying to connect, some users experience the following error message:

 

Tue Apr 05 13:55:06 2011 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct  1 2006Tue Apr 05 13:55:06 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 fileTue Apr 05 13:55:06 2011 Exiting

 

1 connect error

 

When we experienced this error, we found that it was caused by the OpenVPN service not running. However when we tried to manually start the service, we recieved an error message.

 

3 cannot start service

 

A bit of research told us that this was because the version of OpenVPN we installed on our client was out of date and not compatible with Windows 7 or Vista.

When we installed OpenVPN we installed the OVPN Gui + OVPN Application bundle, downloadable from here: http://openvpn.se/

We later found out that this bundle contains the outdated version of OpenVPN.

Windows 7 and vista need at least OpenVPN version 2.1.4 to work correctly because of an updated driver found inside the application.

 

Solution

If you are having this problem, rectyify it by uninstalling your client's current version of OpenVPN and installing the latest version found here:

http://openvpn.net/index.php/open-source/downloads.html

The latest version comes with the GUI anyway.

Upon uninstallation, OpenVPN leaves all your custom keys and config files in place, however for ease and security it is recommended to make a backup of all your keys and config files first.

Once you have reinstalled the software, restart your machine, then run the OpenVPN gui using the new shortcut your desktop.

It will appear in your system tray, at which point you can right click it and click connect, and you should see it whizz past the place where it normally threw the error.

 

Other OpenVPN Errors

Follow the link below for resolution of the "Cannot load certificate file" bug

/support/faq/general/openvpn-cannot-load-certificate-file.aspx

If you found this information useful, please share it!


This FAQ was last updated on 21 July 2011

Contact Information

To find out more about Ava solutions you can contact us in a number of ways:
Follow Us...