is it possible to have two different Virtual hosts (default and something else) use the same alias

we have a situation where we would not like to share the Keystore/Key alias and also have on one of the vHost to have Client Auth Enabled.

On-Prem : Version 4.16.01.04

0 3 151
3 REPLIES 3

Hi @ravi.nomula,

Yes, this is possible, the most important caveat being that the 2 virtualhosts must listen on a different port. The Apigee router performs classification and proxy routing based on hostalias + port + basepath.

As the VirtualHosts would listen on different ports, you would need to use a load balancer like an ELB or a BigIP F5 device to direct the traffic to the correct port (based on some other criteria, like source IP, maybe an F5 iRule, or maybe having different DNS records on one client's DNS server vs another's, or even simply having client A connect to port 443 and client B connect to something like 8443).

There are a few options on "how" to get the clients connecting to the correct port, but yes it is technically possible to do this.

I hope this helps. Thanks.

PS ... you don't have to use a load balancer to achieve this, though if you're already using one, adding configurations to support this would be a minimal effort.

This makes sense .....thx for prompt response

PS: we use GTM/LTM