September 2010

You are browsing the site archives by month.

Set Up HTTPS/SSL with Apache2.2 for Windows

First, make sure you’re downloading the Apache from http://httpd.apache.org/download.cgi and choosing the Win32 Binary including OpenSSL.

After installing the Apache, by default your Apache will be located at “C:/Program Files/Apache Software Foundation/Apache2.2″. Then open your “conf/httpd.conf” because in this post we will play just with this configuration file. First, search for “LoadModule ssl_module modules/mod_ssl.so” make sure there is no comment (#) in front of that line. This step will enable your server to accept HTTPS request.

...
#LoadModule speling_module modules/mod_speling.so
LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
...

Next, because of HTTPS/SSL connection by default using port 443 so we must set the apache to listen port 443.

...
#Listen 12.34.56.78:80
Listen 80
Listen 443
...

Read More →