Forum Discussion
HTTPS to HTTP Redirection without Certificate
Hi ,
I need an i-rule to redirect https requests to http . i tried below rule but not working without certificate.
when HTTP_REQUEST { if { [TCP::local_port] == 443 } {HTTP::redirect "http://[getfield [HTTP::host] ":" 1 ][HTTP::uri]"
} }
2 Replies
Hi!
I'm sorry, but this won't work via the BigIP without a certificate. The LTM can't send an HTTP reply without an HTTP profile and this combination won't work with an HTTP profile.
/Patrik
- Kevin_Stewart
Employee
It really doesn't matter what certificate (and private key) you use, as long as you're applying a client SSL profile to the virtual server to offload the SSL. You'll definitely get a certificate warning in the client browser though if the certificate subject name doesn't match the requested host name. At a minimum, you need an HTTP profile to handle the HTTP protocol traffic (OSI layer 7), and a client SSL profile to decrypt the SSL (layer 6).
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
