Apache SSL: Installing Apache, OpenSSL, and mod_ssl
|
|
1. Installing Apache. The current version of Apache is 2.2.3,
however, this tutorial was completed using version 2.2.2. Download the
Apache_2.2.2-win32-x86-no_ssl from one of the mirrors at
http://httpd.apache.org/download.cgi.
To start the installation of Apache run the installer. Follow the
on-screen instructions. At the server information screen enter localhost
for the Network Domain and Server Name. Enter your email address and
click Next to continue.

When you are presented with the Destination Folder selections select
Change. Create the directory structure C:\Apache\Apache2 on your hard
drive.

Change the destination folder to the newly created folder Apache2 folder
and click OK to continue.

Continue following the on-screen instructions to complete the
installation of Apache. When completed test your install by opening a
browser and going to http://localhost/
2. OpenSSL and Mod_SSL. You can download OpenSSL at http://hunter.campbus.com/.
You need to download Apace_2.2.2-Openssl_0.9.8b-Win32.zip. Extract the
contents of the zip to a new directory.
Copy the ssleay32.dll and libeay32.dll from the bin folder of the
Apache/modssl distribution directory to WINNT\System32. This is
important; ensure that you copied the correct files from Apache to the
correct location.
You will need a config file for OpenSSL.exe, which you can find here.
Move the file to the directory OpenSSL.exe is in, which is found in
Apache/modssl under the bin folder. The openssl.cnf file is a normal
text file; however, Windows will hide the extension from you.
|