1 Reply Latest reply on Mar 21, 2018 11:57 PM by prageetika

    Access to jBoss Console https

    alxreds

      Hello

      I am begin to working with jBoss jboss-as-7.1.1.Final

      and try to config the https access to console

      with http is Working  http://server:8686/console/App.html  (OK)

      but with https://server:8644/console/App.html  No is Working  (Failed)

      No Firewall or IP Tables config

      Any way

      Thanks

        • 1. Re: Access to jBoss Console https
          prageetika

          To enable HTTPS for Admin Console, you need to have below settings..

           

          <management>

          <security-realms>

          <security-realm name="ManagementRealm">

          <server-identities>

          <ssl>

          <keystore path="keystore.jks" relative-to="jboss.server.config.dir" password="abc"/>

          </ssl>

          </server-identities>

          </security-realm>   

          </security-realms>   

          <management-interfaces>

          <http-interface security-realm="ManagementRealm">   

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

          </http-interface>

          </management-interfaces>

          </management>

           

          In the socket binging section :

           

          <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:8644}"/>

           

          You can generate a self-signed certificate and private key in Java JKS format with the following command:

           

          keytool -genkey -alias jboss -keyalg RSA -keystore keystore.jks -storepass abc