Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-637

Enabling SSL on Hawtio console doesn't work properly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • A-MQ 7.0.0.CR1
    • A-MQ 7.0.0.ER18
    • None
    • Hide
      • We are following document[1] to secure Hawtio console.
      • AMQ7 version we are testing is A-MQ7-7.0.0.ER15-1-redhat-1.
      • Now when we enable SSL on Hawtio console, login page is accessible.
        22:57:40,077 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server started at https://localhost:8161
        22:57:40,077 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at https://localhost:8161/jolokia
        
      • But if We try to login to the page it reloads to login page again, it never moves forward to management console page. Configurations we did:
        keytool -genkey -keyalg RSA -alias testKeystore -keystore testKeystore.jks -validity 360
        
      • In bootstrap.xml:
           <web bind="https://localhost:8161" path="web" keyStorePath="/home/cpandey/NotBackedUp/Development/AMQ/AmQ_BROKER1/etc/testKeystore.jks" keyStorePassword="password">
               <app url="redhat-branding" war="redhat-branding.war"/>
               <app url="jolokia" war="jolokia-war-1.3.5.redhat-1.war"/>
               <app url="hawtio" war="hawtio-web.war"/>
               <app url="artemis-plugin" war="artemis-plugin.war"/>
               <app url="dispatch-hawtio-console" war="dispatch-hawtio-console.war"/>
           </web>
        

      1. https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/7.0-beta/html/using_jboss_a-mq_console/console-configuration#securing_access_to_jboss_a_mq_console

      Show
      We are following document [1] to secure Hawtio console. AMQ7 version we are testing is A-MQ7-7.0.0.ER15-1-redhat-1. Now when we enable SSL on Hawtio console, login page is accessible. 22:57:40,077 INFO [org.apache.activemq.artemis] AMQ241001: HTTP Server started at https: //localhost:8161 22:57:40,077 INFO [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at https: //localhost:8161/jolokia But if We try to login to the page it reloads to login page again, it never moves forward to management console page. Configurations we did: keytool -genkey -keyalg RSA -alias testKeystore -keystore testKeystore.jks -validity 360 In bootstrap.xml: <web bind= "https: //localhost:8161" path= "web" keyStorePath= "/home/cpandey/NotBackedUp/Development/AMQ/AmQ_BROKER1/etc/testKeystore.jks" keyStorePassword= "password" > <app url= "redhat-branding" war= "redhat-branding.war" /> <app url= "jolokia" war= "jolokia-war-1.3.5.redhat-1.war" /> <app url= "hawtio" war= "hawtio-web.war" /> <app url= "artemis-plugin" war= "artemis-plugin.war" /> <app url= "dispatch-hawtio-console" war= "dispatch-hawtio-console.war" /> </web> 1. https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/7.0-beta/html/using_jboss_a-mq_console/console-configuration#securing_access_to_jboss_a_mq_console

            rhn-support-jbertram Justin Bertram
            rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: