0 Replies Latest reply on Mar 16, 2015 6:05 AM by valsaraj viswanathan

    mod_cluster https redirect is not working

    valsaraj viswanathan Master

      Hi,

       

      I am using mod_cluster 1.2 as a load balancer and WildFly-8.2.0 as nodes. I have configured AJP connector in JBoss and mod_cluster is connected with JBoss nodes.

      I want to achieve the following, Client <--HTTPS--> Balancer <--AJP--> JBoss.

      When I access application over HTTP, it's working but when it is accessed on HTTPS, it is not working.

      I followed this guide, https://docs.jboss.org/author/display/WFLY8/WildFly+8+Cluster+Howto.

      What changes we need to do to make it working over HTTPS?

      httpd.conf:

      # MOD_CLUSTER_ADDS

      # Adjust to you hostname and subnet.

      <IfModule manager_module>

        Listen 127.0.0.1:10001

        ManagerBalancerName ltchieBalancer

        <VirtualHost 127.0.0.1:10001>

          <Location />

           Order deny,allow

           Deny from all

           Allow from 127.0.0.

          </Location>

       

       

          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          #ServerAdvertise on http://127.0.0.1:10001

          AdvertiseFrequency 5

          #AdvertiseSecurityKey secret

          #AdvertiseGroup 224.0.1.105:23364

          EnableMCPMReceive

       

       

          <Location /mod_cluster_manager> 

             SetHandler mod_cluster-manager 

             Order deny,allow 

             Deny from all 

             Allow from 127.0.0 

          </Location>

       

       

        </VirtualHost>

      </IfModule>

       

       

      LoadModule ssl_module modules/mod_ssl.so


      Listen 443

      <VirtualHost *:443>

        <Location />

        Order deny,allow

        Deny from all

        Allow from 127.0.0.

        </Location>

       

       

              ServerName localhost

              SSLEngine on

        SSLCertificateFile "C:/Apache/conf/server.crt"

        SSLCertificateKeyFile "C:/Apache/conf/server.key"

        SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5

        SSLHonorCipherOrder on

        SSLProxyVerify none

        SSLProxyCheckPeerCN off

      </VirtualHost>

      Thanks!