Page 1 of 1

XAMPP 1.8.2 Missing openssl.cnf

PostPosted: 24. January 2014 15:59
by quindraco
When I go to my xampp\apache directory and run makecert, it fails with the following error:

"Unable to load config info from ./bin/openssl.cnf"

This strikes me as completely reasonable, because there is no such file in the local bin directory.

My XAMPP phpinfo() page says this, under "Apache Environment":

OPENSSL_CONF D:/xampp/apache/bin/openssl.cnf

So it's also completely understandable why it would look for the file there.

Searching my computer for the file indicates I have no file of that name anywhere on it, so it does not seem to be a configuration issue - XAMPP well and truly did not come with one, despite being configured to use it. Unfortunately, I can't seem to be able to Google up any replacements available for download, and the only example cnfs I can find from others are so clearly specific to their machines that I don't know where to begin making my own from scratch.

Does anyone have any suggestions on the best way I can fix this issue?

Re: XAMPP 1.8.2 Missing openssl.cnf

PostPosted: 24. January 2014 18:34
by gsmith
It typically lands in Apache's /conf folder out of the compiler. If it's not there, you can just grab one from the source download for OpenSSL 1.0.1f http://www.openssl.org/source/openssl-1.0.1f.tar.gz

You will find it in the /apps folder inside this tarball.