apache mod_proxy load balancer with two Jboss EAP 7.0 https connection

Latest response

Hello all,

I am testing apache 2.4.25 mod_proxy load balancer 10.0.0.160 that will handle port 9993 https traffic to two backend Jboss EAP 7.0 10.0.10.164 and 10.0.10.165.

mod_ssl, mod_proxy, mod_proxy_http, mod_proxy_balancer modules already loaded.

I tested not set to run mod_proxy load balancer that with no problem to pass port 9993 https traffic to one backend Jboss EAP 7.0, please see below settings first:

ProxyPreserveHost On
SSLEngine on
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

SSLCertificateFile "/etc/pki/tls/certs/test.crt"

SSLCertificateKeyFile "/etc/pki/tls/certs/test.key"

ProxyPass / https://10.0.10.165:9993/
ProxyPassReverse / https://10.0.10.165:9993/

If set to run load balancer will show 404 - not found, please see below mod_proxy load balancer setting:

ProxyPreserveHost On
SSLEngine on
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

SSLCertificateFile "/etc/pki/tls/certs/wilson.crt"

SSLCertificateKeyFile "/etc/pki/tls/certs/wilson.key"

Require all granted
BalancerMember "https://10.0.10.164:9993/"
BalancerMember "https://10.0.10.165:9993/"

ProxyPass / "balancer://mycluster/"
ProxyPassReverse / "balancer://mycluster/"

Thanks

Responses