Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2890

GUI: Better link from Public Web to Administration Web, via reverse proxy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.13
    • Fix Version/s: EJBCA 4.0.14
    • Component/s: Install-script
    • Labels:
      None
    • Issue discovered during:
      Integration

      Description

      Description:
      In public web interface, there is a link to Administration Web.
      This link is build with a domain name which is get from web client.
      When there is a reverse proxy in front of JBoss, the web client is the reverse proxy, and the domain name is get from the domain name of the directive ProxyPass.
      Two choices:
      1. ProxyPass contains "http://localhost/..", then the link begin with "http://localhost/..",
      2. ProxyPass contains "http://www.foo.org/..", then the link begin with "http://www.foo.org/..".
      The #2 is good, but if you configure JBoss to listen only on 127.0.0.1 (not 0.0.0.0), it doesn't work.

      Remark:
      The port number of this link is configured via "httpserver.external.privhttps".

      Action:
      Fix this "bug" by create a new parameter "httpserver.external.fqdn" for the domain name, like "httpserver.external.privhttps" for port number.

      Behavior:
      If "httpserver.external.fqdn" is not set or empty, the domain name is get from web client, as currently.
      If "httpserver.external.fqdn" is set, the domain name is the value of this property.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcarella David Carella
              Reporter:
              dcarella David Carella
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: