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

Wrong example of external SSL port number in web.properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • 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:
      Community

      Description

      Description:
      In web.properties file, when uncommenting the following line, I have a warning in JBoss logs.

      In web.properties:
      httpserver.external.privhttps=${httpserver.privhttps}

      Result in JBoss logs:
      00:34:25,150 WARN [WebConfiguration] "httpserver.external.privhttps" is not a decimal number. Using default value: 8443

      So, the value of the parameter ${httpserver.privhttps} is – by default – 8443. And the behavior of the warning “Using default value: 8443” is similar to default value of ${httpserver.privhttps}.
      In source code, the variable 'httpserver.external.privhttps' is initialized with the default value of the port, i.e. the value of variable 'httpserver.privhttps'. Alright.

      Action:

      • keep the line commented, but with an example like this (correct, and more useful):
        #httpserver.external.privhttps=443

        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: