We have 4 http applications which are mapped to one Public IP address and I have used one Virtual IP address on my LTM to cater to these 4 application, all the 4 application use the same pool members, I have setup an iRule which redirects them to its respective home pages.
Now I have been asked to encrypt these using SSL Certificates and I am in a fix.
can someone help me as to how I can still use one Virtual IP for 4 different https applications and still use SSL, each application will have one separate SSL Cert created.
The problem you face is that SSL communication is established before any HTTP transactions has been done. Therefore you won’t be able to use an iRule to automatically select the good Certificate to use. Even within the BIGIP configuration you won’t be able to handle this.
You will need to define 4 differents VS to do this or create a wildcard certificate (if your applications are appli1.mysite.com, appli2.mysite.com, … you need a certificate for *.mysite.com)
Do you have any way to identify which application is requested except through the URI? (like source ip address, etc…)
So if I use a wildcard certificate I can counter this issue but I have application like like this:
app.mysite-ip.com.aa
app.mysite-ip.com.bb
app.mysite-ip.com.cc
app.mysite-ip.xx
All these are mapped to 1 public IP address and I have one more application which is app.mysite-ip.co.kr.
Now, firstly can I use a wildcard certificate like app.mysite-ip.com.* and if so then I am still stuck with app.mysite-ip.xx, how will I resolve this ?
" Do you have any way to identify which application is requested except through the URI? (like source ip address, etc…) "
No I don’t, as of now the applications are on http and I have a iRule which redirects app.mysite-ip.com.aa to app.mysite-ip.com.aa/homepage and so on for the rest of them.
I think this post has the evolution of this question (Click here).
The practical answer for current versions is you can only support one certificate per virtual server. A wildcard cert for *.example.com would allow you to host a.example.com and b.example.com on the same VIP using one cert. Using Subject Alternate Names (SANs) should allow you to host abc.com and xyz.com(or app.mysite-ip.com.aa and app.mysite-ip.com.bb) on the same VIP with one cert. At some point F5 and browsers will probably support the server_name extension for TLS to allow support for multiple certs on a single IP address and port. To request F5 support this extension, you can open a case with F5 and ask them to attach it to CR94903.
Yes I am worried about the infinite loop, either of the options might work for now, but I am worried about the feature, as of now all the 4 applications have a different home page each, and using iRules I can redirect to their respective Homepages, like when a client request for http://app.mysite-ip.com.xx redirect to https://myarea.mysite-ip.com/respectiveHomePage.
I have 2 questions to ask:
1) Will I end up with a lot of iRules to saperate each application from other?