Request.IsSecureConnection in a LoadBalanced Environment
We are currently operating a pretty simple load balancer but that's about to change as we move to a Citrix Netscaler Load Balancer. I understand that SSL will be offloaded to the load balancer and as such any checks for a secure connection using the likes of HttpContext.Current.Request.IsSecureConnection will no longer return a correct result.
I wanted to ask if this is likely to impact Umbraco itself in any way and if so what the best approach is to handle this scenario? I did a quick search through the Core and have found instances of checks for secure connections using HttpContext.Current.Request.IsSecureConnection so I need to understand the impact of the SSL offloading.
I can handle instances in our custom code by checking for a new header inserted by the load balancer but this doesn't address any knock-on problems in the Umbraco Core.
@kipusoep I'm guessing that since you have NO problems you don't actually have the umbracoUseSSL appsetting set to true because I run into all sorts of problems when it is on!
I'm still fighting with this and have created an issue on the tracker for it:
Request.IsSecureConnection in a LoadBalanced Environment
We are currently operating a pretty simple load balancer but that's about to change as we move to a Citrix Netscaler Load Balancer. I understand that SSL will be offloaded to the load balancer and as such any checks for a secure connection using the likes of
HttpContext.Current.Request.IsSecureConnection
will no longer return a correct result.I wanted to ask if this is likely to impact Umbraco itself in any way and if so what the best approach is to handle this scenario? I did a quick search through the Core and have found instances of checks for secure connections using
HttpContext.Current.Request.IsSecureConnection
so I need to understand the impact of the SSL offloading.I can handle instances in our custom code by checking for a new header inserted by the load balancer but this doesn't address any knock-on problems in the Umbraco Core.
Thanks, Simon
We've got multiple environments with SSL offloading through nginx and found no problems whatsoever.
Do you have the
umbracoUseSSL
appsetting enabled?@kipusoep I'm guessing that since you have NO problems you don't actually have the
umbracoUseSSL
appsetting set totrue
because I run into all sorts of problems when it is on!I'm still fighting with this and have created an issue on the tracker for it:
http://issues.umbraco.org/issue/U4-9229
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.