How to find the OpenSSL.cnf file

Whether you run your MainWP Dashboard on Local or Web host, the best and easiest way to locate the openssl.cnf file is to search for it in the PHP info.

  • Once you access the PHP info, look for the OpenSSL settings
  • Look for the Default OpenSSL config row
  • The file location will be listed in thereOpenSSL Settings

Localhost

If you are running your MainWP Dashboard on a localhost, here you can find the usual locations of the openssl.cnf file.

XAMPP

On the XAMPP installations, the openssl.cnf file usually can be found here:

c:\xampplite\apache\conf\openssl.cnf

If you don’t have your XAMPP installed on the C drive, just edit the beginning of the path. In some cases, Apache version number is included in the path too, for example:

d:\xampplite\apache2.4.9\conf\openssl.cnf

WAMP

On the WAMP installations, the openssl.cnf file usually can be found here:

c:\wamp\bin\apache2.4.9\conf\openssl.cnf

If you don’t have your XAMPP installed on the C drive, just edit the beginning of the path. In some cases, Apache version number is included in the path too, for example:

d:\wamp\bin\apache2.2.1\conf\openssl.cnf

Webhost

If you are running your MainWP Dashboard site on a Windows server, you should be able to find the OpenSSL.cnf file by checking the phpinfo().

  • Once you access the PHP info, look for the OpenSSL settings
  • Look for the Default OpenSSL config row
  • The file location will be listed in thereOpenSSL Settings
If you are not able to locate the file, you should reach your host support and have them provide you the exact path to the openssl.cnf file.