Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How can I redirect http to https for obiee 12c

Received Response
52
Views
5
Comments

Hi.

We enabled https for obiee 12c. When wy connect to https://xxx:9503 everything is good but when we try connect to http://xxx:9502 it redirect to https://xxx:9502. It is possible to change port automatic?

Tagged:

Answers

  • Hi @User_KURX7 ,

    When connecting to http://hostname:9502 you would like to be redirected to https://hostname:9503, is that correct? I don't think you can do it directly in OBIEE. You have to go through a HTTP server.

  • To add… typically if you are using HTTPs on port 9503, then you would disable the non-SSL port (9502).

    The other alternative is to enable HTTPs/SSL on the HTTP Server, then offload/terminate SSL back to the Weblogic non-ssl managed server port (and enable Weblogic network filters to only allow traffic via the HTTP Server).

  • In theory there are ways to do that in WebLogic, but it works better when you are deploying your own applications. In the case of OBIEE there is a lot deployed already, therefore it could be challenging to not break everything by trying to do it in WebLogic directly. As others said, you generally do that in a proxy in front of WebLogic, or just you disable the HTTP port as Steve said and people will check their URL when they don't have anything showing up in their browser.

  • Mostafa Morsy-Oracle
    Mostafa Morsy-Oracle Rank 6 - Analytics Lead

    @User_KURX7

    if HTTP port enabled from WLS Console Page On port 9502 you may open new incognito browser window and paste http://hostname:9502

  • Reading again your question:

     when we try connect to http://xxx:9502 it redirect to https://xxx:9502.

    That sounds like a browser thing. Browser try to enforce https:// on everything, there was even a plan to make that a default thing that any URL would be turned into https://, now I believe it is checkbox somewhere in settings.

    You should look at your browser calls (in the developer tools) to see if the browser calls http://…:9502 and then receive a redirect response and change the URL to https://…:9502, or if it does call directly https://…:9502 even if wrote http://…:9502.

    What case is yours? The first, and therefore it's OBIEE doing the redirect for some reasons? Or the second case and you can google how to change the setting in your browser to disable that?