logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: httpd 2.4.10 compiled with OpenSSL 1.0.1j but loads 1.0.1i
Author
spencer



Joined: 27 May 2013
Posts: 8
Location: Boulder, CO

PostPosted: Thu 13 Nov '14 20:18    Post subject: httpd 2.4.10 compiled with OpenSSL 1.0.1j but loads 1.0.1i Reply with quote

Hey, good fans of Apache. So, I've loaded the 64-bit version of httpd on a Windows 7 machine, and everything goes smooth. I'm working with SSL for the first time. When I enabled it via the httpd-ssl.conf file and got a certificate and key, I see this error in the error log:

Quote:
[ssl:warn] [pid 16836:tid 268] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1j 15 Oct 2014, version currently loaded is OpenSSL 1.0.1i 6 Aug 2014) - may result in undefined or erroneous behavior


Did an older version of that module end up in the httpd-2.4.10-win64-VC11.zip file? How might I get the 1.0.1j version?
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Thu 13 Nov '14 21:07    Post subject: Reply with quote

Assume you downloaded from Apache Lounge.

Looks like you not using mod_ssl which is in httpd-2.4.10-win64-VC11.zip.

httpd-2.4.10-win64-VC11.zip is fine.
Back to top
spencer



Joined: 27 May 2013
Posts: 8
Location: Boulder, CO

PostPosted: Thu 13 Nov '14 23:50    Post subject: Reply with quote

Thanks a lot for the quick response!

I'm 100% certain I'm using the mod_ssl from httpd-2.4.10-win64-VC11.zip from this site. I've not obtained it from anywhere else or anything like that. This is the first time I've really worked with SSL, so I very well may be doing something wrong.

The server signature clearly says OpenSSL/1.0.1i. Again, I'm only using what's in that zip file. Is there any reason you can think of why the mod_ssl that comes with the zip would report such a discrepancy? If you install httpd on Windows anew, are you seeing the same thing? Thanks for looking into this for me.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 14 Nov '14 4:43    Post subject: Reply with quote

Apache/2.4.10 (Win64) OpenSSL/1.0.1j is what I download.

I think I would search the hard drive for other ssleay32.dll files, especially in c:\, c:\windows and c:\windows\system32 for starts.

If a search comes up with nothing other than the ones you have in question, download again and replace the /bin files.
Back to top
spencer



Joined: 27 May 2013
Posts: 8
Location: Boulder, CO

PostPosted: Fri 14 Nov '14 6:30    Post subject: Reply with quote

Well, I'll be... Thanks a lot for all the help!

So, the culprit was indeed the ssleay32.dll and the libeay32.dll in the /bin for httpd. Earlier, I had copied those files from the Windows build of 64-bit PHP 5.6.2 into Apache's folder. I did that because I was having trouble with curl in PHP, and oddly I could not get it to work until I copied those DLLs from PHP's directory to Apache's /bin. After replacing them with the right ones from Apache, it's now properly reporting the j version of OpenSSL.

But the weird thing is that curl in PHP is still working, which strongly indicates that moving those DLLs to the Apache /bin was probably not what got it to work. More investigation is in order, I thank you gentlemen for the breakthrough!
Back to top


Reply to topic   Topic: httpd 2.4.10 compiled with OpenSSL 1.0.1j but loads 1.0.1i View previous topic :: View next topic
Post new topic   Forum Index -> Apache