Table of Contents

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 thereOpenSSL Settings

Localhost

If you are running your MainWP Dashboard on the 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, 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

MAMP

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

C:\MAMP\bin\apache\conf\openssl.cnf

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

D:\MAMP\bin\apache\conf\openssl.cnf

Locals by flywheel

On the Locals by flywheel installations, the openssl.cnf file usually can be found here:

/usr/lib/ssl/openssl.cnf

This path will be the same whether you’re running Locals on macOS or Windows.
In case the path has been changed here’s how to check the current value:
– Click on the i beside the Local site’s PHP version to open a PHP info page
– Scroll to the openssl section
– Check the value of Openssl default config

D:\MAMP\bin\apache\conf\openssl.cnf

Laragon

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

C:\laragon\bin\apache\httpd-2.4.47-win64-VS16*\conf\openssl.cnf

* The middle section of the path may vary with each version number update.

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 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.
Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion