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
or
+ The combined certificate (of the above ones)
and
+ 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/mod_ssl.so
...
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
+ Your server certificate
+ The Intermediate CA certificate
+ The root CA certificate
or
+ The combined certificate (of the above ones)
and
+ 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/mod_ssl.so
...
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
Comments
Post a Comment