FAQ - General

OpenVPN - Trying to Connect leads to "Cannot Load Certificate File"

After installing and configuring OpenVPN, if you get the following error message:


Tue Apr 05 11:54:29 2011 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct  1 2006

Tue Apr 05 11:54:29 2011 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.

Tue Apr 05 11:54:29 2011 Cannot load certificate file C:\Program Files\OpenVPN\easy-rsa\keys\ava.crt: error:02001003:system library:fopen:No such process: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib

Tue Apr 05 11:54:29 2011 Exiting


1 path error


You have an error in the OpenVPN configuration file.

Open it in a text editor like notepad - it is located somewhere like "C:\Program Files\OpenVPN\config\*.ovpn"

Scroll down to find where you have defined the paths to the client certificate and key, and the server certificate.


2 fix paths


Double check you have these paths correct. Remember, if you are on a 64bit machine, your certificates will most likely be in "Program Files (x86)" not "Program Files"

Another thing to remember is that windows paths must be absolute (as in starting with a drive letter), and each backslash in the path must be a double back slash.


Other OpenVPN Errors

Follow the link below for resolution of the "Cannot open dh1024.pem" bug


If you found this information useful, please share it!

This FAQ was last updated on Wednesday, September 30, 2015

Contact Information

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