2 Replies Latest reply on Apr 14, 2016 3:01 AM by mcarbs

    Wildfly management console disable https redirect

    mcarbs

      Hi all,

       

      I have setup the wildfly management console to use https on port 9993, which works correctly thanks for the information on this forum.

       

      My question relates to if its possible to disable the redirect from http to https.  The https is allowed for remote access through the firewall on the server, but I want to use the http on port 9990 locally for scripts that run on the server itself without being forced to https as it breaks the scripts, specifically managing the server with puppet.

       

      Is it possible to disable the redirect on port 9990 so that either port can be used?

       

      I'm using Wildfly v9.0.2.

       

      Regards,

      Mark

        • 1. Re: Wildfly management console disable https redirect
          mchoma

          How do you setup management interface? I didn't try myself, but you can set http and htps attributes for http-interface.

           

          <http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">

              <socket-binding http="management-http" https="management-http"/>

          </http-interface>

          • 2. Re: Wildfly management console disable https redirect
            mcarbs

            Thank you for the reply, but unfortunately that won't work as it will cause a port conflict on starting the https listener.

             

            I did try it just to see and ended up with errors trying to start.

             

            I might have to use Apache httpd to handle the https on port 9993 and only run Wildfly management on 9990, using a proxypass, not an ideal solution but it should work.