Forum Discussion
wtwagon_99154
Nimbostratus
May 19, 2009Question about applying HTTP_REQUEST to HTTPS
Pretty new to iRules -- wanted to see if I could get some assistance.
I'm trying to make a rule as follows:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "2." } {
pool int36.443
}
elseif { [HTTP::uri] starts_with "3." } {
pool int79.443
}
}
When I apply this to the HTTPS VIP, it does not work. However, if i change it to 80 and apply it to our HTTP VIP, it works just fine.
Do I have to host the wildcard certificate as a server side certificate to get this to work?
We host the wildcard certificate on our application servers at this point in time.
- dennypayne
Employee
Hi, - wtwagon_99154
Nimbostratus
Thanks, - dennypayne
Employee
That's correct (the LTM accepts PEM/OpenSSL format certificates). Also if you don't use the serverssl profile the application will begin receiving connections in clear text so you also need to make sure that is acceptable.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects