We are using Hybris 5.2.0 and F5 load balancer and trying to offload ssl at Load balancer. From Load Balancer the requests are directly landing on App servers(We don't have web servers). With other expert replies I understand that I would need to do following steps to achieve this:
1) Host a certificate on LB 2) SSL offloading at LB and traffic sent on port 80 from LB to app server. Ensure x-forwarded-proto is added by Load Balancer. 3) In server.xml configuration below configuration: Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="x-forwarded-proto" remoteIpHeader="x-forwarded-for" proxiesHeader="x-forwarded-by" />
Please confirm if we need to do any other changes/configuration to achieve this.In this case do we need to enable both the ports connector of app server(80 & 443) or only port 80 connector needs to be enabled in server.xml.