I downloaded mod_cluster-1.2.0.Final-windows-x64-ssl.zip from http://www.jboss.org/mod_cluster/downloads/1-2-0-Final. I extracted all contents to C:\httpd-2.2 on my 64-bit Windows Server 2008 R2 Standard machine.
I followed the 2.2.4. Install in Windows instructions in the mod_cluster Documentation:
When I uncomment the following line in httpd.conf I get the syntax error message included below:
LoadModule ssl_module modules/mod_ssl.so
httpd: Syntax error on line 113 of C:/httpd-2.2/conf/httpd.conf: Cannot load C:/httpd-2.2/modules/mod_ssl.so into server: The specified module could not be found.
Does mod_ssl.so depend on any other modules? Is there something else I need to configure in httpd.conf to be able to load this module?
Do I need to set up OpenSSL?
I chose to use keytool to generate a self-signed server.keystore file due to my familiarity with this process and with enabling SSL on previous versions of JBoss, but I noticed the following line in the Apache mod_ssl documentation and I don't really understand what it means or what steps I need to go through to get this set up:
"This module relies on OpenSSL to provide the cryptography engine."
Some background on what I am trying to achieve with my setup:
1. I have Apache HTTP configured so that requests on port 80 for two name-based virtual hosts (http://site1.com and http://site2.com) go to a web application running on JBoss AS 7.1.1.Final on port 8080.
2. I have also created a self-signed server.keystore file using keytool and enabled SSL in JBoss so now I can access my web application locally by going to https://localhost:8443/myapp.
I am running Apache HTTP and JBoss AS 7.1.1 on the same system, so I don't need to secure the connection between the two. Only between the browser and Apache HTTP.
I am using Java SE Development Kit 6 Update 32 (downloaded jdk-6u32-windows-i586.exe from http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html). I have also downloaded jboss-native-2.0.10-windows-x64-ssl.zip from http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-10.html and configured it so that I can run JBoss as a service.