Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1439

nginx agent 5 rewrites https protocol to http

    XMLWordPrintable

    Details

    • Sprint 2018.1 Stonehenge

      Description

      When nginx web server is set for SSL and listen on https protocol, agent will rewrite protocol to http

       

      Steps to reproduce

      1.) Set nginx for SSL (https + 443)
      2.) Install agent for SSL (e.g https://agent.localtest.me:443/index.html)
      3.) Set required certificates in agent.con file
      4.) Hit the protected page, in mine case https://agent.localtest.me:443/index.htm

      Expected result

      Redirected to AM login page, after login I can see protected page (if the policy is set)

      Observed result

      "redirect_uri_mismatch The redirection URI provided does not match a pre-registered value."
      As is possible to see in debug log and also in URL https is changed to http (redirect_uri=http%3A%2F%2Fagent.localtest.me%3A80%2Fagent%2Fcdsso-oauth2)

        Attachments

          Activity

            People

            nick.james Nicholas James
            richard.hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: