Forum Discussion
HTTPS host header rewrite
Hello,
I've got a host header rewrite iRule that I've created for a website that our developer team is testing. They have IIS configured to only allow a specific host name, but want to be able to test it by going to the IP address, so I put in the following host header rewrite to allow them to hit the site from the VIP and it still accept the connection.
when HTTP_REQUEST { HTTP::header replace Host "hostname" }
Now they want me to configure this to work as well on the HTTPS virtual server. Does anyone have any tips on how I can apply this to the HTTPS VIP as well? When I try to apply the iRule it says I have to apply an HTTP profile to the virtual server first. If I apply an http profile to this HTTPS virtual server I can't access the site. It just times out/resets.
1 Reply
- nathe
Cirrocumulus
cjflora,
Are you decrypting and/or re-encrypting the SSL connection i.e. SSL Offload/SSL Bridging? If not and you don't have a Client SSL profile (at least) attached to the Virtual Server then adding a HTTP Profile will break the traffic...as it can't read the HTTP traffic.
Hope this helps,
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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