Forum Discussion
SSL-Ofloading on Port 8081 !!!
Hi,
I have a requirement of doing an client ssl offload on the BIG-IP.
Currently, the VIP is 10.10.10.10 and the below is working fine
http://10.10.10.10:8081/sm/index.do
We need to change it into https://
For eg: a user will enter in the browser https://10.10.10.10 and it should work. (big-ip will offload it and should redirect it to http://10.10.10.10:8081/sm/index.do on the backend towards the server side)
How to achieve this? or what is the right way to get it done?
Hope this explains you the issue.
Thanks,
Regards,
Mubasher Sultan
5 Replies
- Kevin_Stewart
Employee
You just need a client SSL profile attached to the virtual server. It would appear, since users will just type https://10.10.10.10 into the browser, that the virtual server will be listening on port 443 (the default port for HTTPS). You then just need a pool with your port 8081 members added. Make sure port and address translation are enabled, and you should be good to go. The client SSL profile will terminate the SSL and pass the unencrypted payload to the port 8081 servers.
As for the URI redirect, you have a few options:
1. Let the server do it.
2. physically redirect the user (via 302 message) with an iRule (this will change the address in the browser:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "/sm/index.do"
}
}
3. If you don't want the user to see the URI, silently change it with the HTTP::uri command:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::uri "/sm/index.do"
}
} - Mubasher_Sultan
Nimbostratus
Hi Kevin,
Backend servers are listening to port 8081. With the redirection used in option 2, I can only redirect from https://10.10.10.10 to https://10.10.10.10/sm.index.do
the redirection works but it is unable to fetch the information from the servers which are listening to port 8081.
Thanks,
Regards,
Mubasher Sultan
- Mubasher_Sultan
Nimbostratus
Correction in the earlier post. It redirects
from https://10.10.10.10 to https://10.10.10.10/sm/index.doSSL offload is success but further the application does not gets loaded as it is listening to port 8081.
Regards,
Mubasher Sultan
- Mubasher_Sultan
Nimbostratus
any hope..... Please reply or any more thoughts
Regards,
Mubasher - Hamish
Cirrocumulus
Seems to be a bit of confusion in here. There shouldn't be any redirection.
The BigIP acts as a proxy. You connect to https://vipaddr/ and it goes & gets the content from the backend server on whatever ip & port it's working on, then sends the results to the client. No redirects necessary, unless the SERVER redirects to itself (e.g. redirects / to /index.html) in which case the redirect often needs re-writing to use the client facing URL instead of the URL directly addressing the server.
H
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