3 Replies Latest reply on Dec 18, 2014 2:12 AM by Wolf-Dieter Fink

    Configure SSL between client and apache

    Humberto Ferreira da Luz Jr. Novice

      This is what I want to acomplish:

      client <-- https --> apache <-- ajp --> jboss

       

      I researched a lot about it on Google, but I'm still very confused (probably because I don't know apache very well).

      Most tutorials I found are about enabling SSL between apache and JBoss, which I don't need. The tutorials covering SSL on apache usually are not related to JBoss.

       

      Currently I have this virtualhost for mod_cluster:

       

      <VirtualHost ip:10001>
         <Location /mod_cluster-manager>
            SetHandler mod_cluster-manager
            Order deny,allow
            Deny from all
            Allow from 189.60.90.
         </Location>
      
         KeepAliveTimeout 240
         MaxKeepAliveRequests 0
      
         ManagerBalancerName mycluster
         ServerAdvertise On
         EnableMCPMReceive
      
      </VirtualHost>
      
      

       

      I know that I have to add the properties below somewhere:

       

      SSLEngine on
      SSLCertificateFile /etc/SSL/loadbalancer.crt
      SSLCertificateKeyFile /etc/SSL/loadbalancer.key
      

       

      Now I don't know if I have to create another virtualhost to redirect to port 443 or if I should add those properties to mod_cluster virtualhost.

      Anyone can give me some help?