DX Unified Infrastructure Management

 View Only

  • 1.  HTTP redirect to HTTPS

    Posted Nov 19, 2011 02:27 AM

    So I have https working and now I want to force all my users to use https vs http. I know I can disable http by removing the http_port number in the wasp.cfg file but I would rather redirect http traffic to https. I suspect this is a setting in the a properties files somewhere but I am not sure what that setting would be. Any thoughts?



  • 2.  Re: HTTP redirect to HTTPS
    Best Answer

    Posted Nov 21, 2011 11:20 PM

    I think this setting will do what you want:

     

    web.server.protocol=https

     

    This line would go into the portal-ext.properties file. I am fairly certain you will lose it during UMP upgrades, so be ready to add it back in.

     

    I believe I have seen this setting behave two different ways. I am not sure what other settings might affect its behavior, but both seemed to achieve the goal. In one case, all HTTP connections to the UMP sign-in page were redirected to HTTPS. In the other case, the UMP sign-in page was HTTP, but the form submission was HTTPS. This meant that the user credentials were encrypted, and the rest of the session remained encrypted in my testing.



  • 3.  Re: HTTP redirect to HTTPS

    Posted Nov 22, 2011 01:11 AM

    Works like a champ I was looking for something like this.