Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Dingley 1474 posts 3451 karma points c-trib
    Nov 22, 2016 @ 13:07
    Simon Dingley
    0

    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

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Nov 22, 2016 @ 13:12
    Stefan Kip
    0

    We've got multiple environments with SSL offloading through nginx and found no problems whatsoever.

  • Simon Dingley 1474 posts 3451 karma points c-trib
    Nov 22, 2016 @ 13:14
    Simon Dingley
    0

    Do you have the umbracoUseSSL appsetting enabled?

  • Simon Dingley 1474 posts 3451 karma points c-trib
    Nov 29, 2016 @ 12:38
    Simon Dingley
    0

    @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:

    http://issues.umbraco.org/issue/U4-9229

  • 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.

Please Sign in or register to post replies