Forum Discussion
JMA_46115
Nimbostratus
Aug 27, 2012HTTPS/HTTP rewrite URL (Wildcard SSL cert)
Hi guys,
I am pretty new to the forum and iRules...
Here's the issue I am having right now.
We are using a Wildcard SSL cert for one of our HTTPS URL (Lets call it https://*.abc.mydoma...
Kamalpreet_1068
Nimbostratus
Aug 28, 2012Hi Jon,
Lets do like this
1. Do the DNS entry for abc.mydomain.com & www.abc.mydomain.com to point to say "1.1.1.1"
2. Create 2 VIP on LB of IP - 1.1.1.1 listening on port 80 & https
3. On VIP apply rule
when HTTP_REQUEST {
if { [HTTP::uri] == "/" } {
HTTP::redirect "https://www.abc.mydomain.com"
}
}
All the traffic will be redirected to www.abc.mydomain.com and you can use that wildcard cert
Kamal
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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