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

Allow plugin interface for getting hostname

    Details

      Description

      If EJBCA is run behind a proxy in a cluster where all VMs have the same hostname there are multiple issues:

      • Service pinning to nodes does not work
      • Approval notifications will use the wrong hostname in the URL
      • Audit log writes will conflict
      • Clear cache button will not work

      Several of these issues could be configured away, but if this information is available elsewhere it would be nice with a plugin where the information could be dynamically looked up.

      Psuedocode:
      If (plugin exists) ask plugin for external FQDN
      else default to previous behavior e.g.
      InetAddress.getLocalHost().getHostName() or
      WebConfiguration.getHostName()

      For example this should be used from:
      CesecoreConfiguration.getNodeIdentifier()
      GlobalConfiguration.getBaseUrl()
      StartServicesServlet.getHostName()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              johan Johan Eklund
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified