Setting up SSL in Apache 2.2 in Windows

To enable SSL in Apache 2.2 in a Windows environment, you need to have these following things, certificates:

+ Your server certificate
+ The Intermediate CA certificate
+ The root CA certificate


+ The combined certificate (of the above ones)


+ The private key

1. Open the main configuration file of Apache (C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf) and make sure these lines look like following:


Include conf/extra/httpd-ssl.conf


LoadModule ssl_module modules/

2. Open the ssl configuration file (C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-ssl.conf) and modify as following:

3. Restart the Apache service:

> Open Windows command prompt (> Start > type cmd) and enter:

C:\ net stop apache2.2

C:\ net start apache2.2