Jump to:

558 Posts in 3589 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » SSL on a load balancer

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 890 Views
  • gilgamesh
    Community Member
    2 Posts

    SSL on a load balancer Link to this post

    I'm trying to get ssl to work on a load balanced enviroment.

    As the servers under the load balancer (in it's local network) connect to the LB via port 80/http and the load balancer handles the ssl connection to the client. I'ev found I can't use Director::forcessl(); to force the site to use ssl.

    So by forceing the url to ssl in the load balancer, I get ssl but then the site doesn't work properly. When I first tried this I found I couldn't login as the Security/login page would post to the none enrcypted security/loginform page. Since then I've setup a completly standalone clean install of the latest SS build 2.4 to test with. I found that the all the urls to the js and css are http and don't load in the forced enviroment and when I try to login I get redirected back to the home page.

    Has anyone run into anything like this before?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.