Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5871

The default redirect port for the 8080 connector is current 8433. Should be 8443 instead.

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      The CLI command
      /subsystem=web/connector=http:write-attribute(name=redirect-port, value=8443)
      will add the redirect-port to the configuration in standalone mode.
      Use '/profile=<the name of the appropriate profile>' as prefix for domain mode.

      The result in the configuration will look like:
      <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/>
      ...

      Show
      The CLI command /subsystem=web/connector=http:write-attribute(name=redirect-port, value=8443) will add the redirect-port to the configuration in standalone mode. Use '/profile=<the name of the appropriate profile>' as prefix for domain mode. The result in the configuration will look like: <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/> ...

    Description

      The default redirect port for the 8080 connector is 8433. Seems that this is wrong as socket-bindings use 8443 (and former releases also)

      [standalone@localhost:9999 /] /subsystem=web/connector=http:read-resource
      {
      "outcome" => "success",
      "result" =>

      { ..., "name" => "http", "protocol" => "HTTP/1.1", "redirect-port" => 8433, "scheme" => "http", "secure" => false, "socket-binding" => "http", "ssl" => undefined, "virtual-server" => undefined }

      }

      The pre-configured "https" socket binding conversely is 8443:

      [standalone@localhost:9999 socket-binding=https] /socket-binding-group=standard-sockets/socket-binding=https:read-resource
      {
      "outcome" => "success",
      "result" =>

      { "client-mappings" => undefined, "fixed-port" => false, "interface" => undefined, "multicast-address" => undefined, "multicast-port" => undefined, "name" => "https", "port" => 8443 }

      }

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: