- installed Apache 2.2 with OpenSSL module bundled
- installed OpenSSL generator - http://slproweb.com/products/Win32OpenSSL.html
- start Windows Command Prompt as Administrator
- go to C:\OpenSSL\bin
- follow the steps from 1 to 4 - http://www.akadia.com/services/ssh_test_certificate.html
- copy the server.key & server.crt to <Apache2.2>/conf/ssl
- open the httpd.conf and add
Listen 443 - enable mod_ssl in httpd.conf
- at end of httpd.conf add this
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLSessionCache none
</IfModule>
<VirtualHost *:443>
DocumentRoot "path-to-public-folder"
ServerName yourapp.example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
</VirtualHost>