Binaries of Apache 2.0.61 for Windows with OpenSSL 0.9.8g (mod_ssl) and mod_deflate support
Binaries of Apache 2.2.6 are available here.
I wanted to compile Apache with SSL support, and found the instructions at http://www.devside.net/web/server/windows/apache-ssl-deflate very helpful, but I wanted to automate the process as much as possible.
So I created the makefile apache-2.0.61.mak. To use, you will need to have Cygwin (including flex), ActiveState Perl, an assembler (NTDDK or NASM), and MSVC 6.0 or later installed. Review the paths at the beginning of apache.mak, and modify as needed. Then, to compile Apache, simply type:
$ make -f apache-2.0.61.mak
To run apache with SSL support, you will need to stop any other services that are using port 80, or port 443. For example, if you have already have Apache running, type:
c:\> net stop apache2
Now start the SSL version of Apache:
C:\> C:/Program Files/Apache Group/Apache2\apache -D SSL
To test it, simply browse to https://127.0.0.1/. Since this is a self signed certificate, you will receive a message about an unknown certificate authority. Simply click 'Ok' and you should see Apache's standard welcome page.
Using httpd-2.0.61_zlib-1.2.3.patch, this version compiles using the latest version of zlib (1.2.3).
Binaries, and some example configuration files, are available in apache-2.0.61_openssl-0.9.8g.zip.
These include:
bin/libeay32.dll bin/openssl.exe bin/ssleay32.dll bin/openssl.cnf conf/httpd.conf conf/ssl.conf conf/ssl.crt/server.crt conf/ssl.key/server.key modules/mod_ssl.so modules/mod_deflate.so
To install, first download and install apache_2.0.61-win32-x86-no_ssl.msi.
Then unzip apache-2.0.61_openssl-0.9.8g.zip into the directory you installed Apache in (typically C:/Program Files/Apache Group/Apache2).
Note: The .so files are actually Win32 DLL executables, they just have the standard Linux file extension.
Other keywords: Apache2, binary, deflate, executables, mod_ssl, SSL, Win32
- ross's blog
- Login to post comments
maryleen,
The steps to create a self-signed certificate are contained in the file http://smithii.com/files/apache-2.0.61.mak.
laracroft_alex
I don't know of any passphrase.bat. I do know that the sample .key and .per files that are in the .zip file use the passphrase of 'aaaa', without quotes.
You should generate your own keys though. Please see How to generate OpenSSL keys for Apache for Windows for more information.
laracroft_alex,
Sorry, but I'm not sure what you need help with, exactly.
Could you please describe what you have done so far, and what you are stuck on?
Thanks,
Ross
laracroft_alex,
Here's how you can download and verify the integrity of any file in the http://smithii.com/files/ folder on my server:
suh yong seon,
My bad. I reorganized my website, and broke this link. It's back up now. Thanks for the heads up,
Ross
You need to enter the same passphrase you used before
Otherwise, it will give you the cryptic (no pun intended) error message you are getting.
I just tried it again with Firefox, works fine
Try a different browser, and make sure to disable any download accelerators, such as GetRight, FlashGet, etc.