Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14736

Securing via JMX does not work

    XMLWordPrintable

Details

    • False
    • False
    • % %
    • build3
    • Undefined
    • Hide
      • move keystore.xml to deploy/ folder
      • move jbossweb.keystore to etc/ folder
      • replace org.apache.karaf.management.cfg in etc/ folder (or modify it as specified in description)
      • start fuse
      • system:property myProperty myValue

      you can use jconsole to check it:

      • remote connection
      • service:jmx:rmi://127.0.0.1:44444/jndi/rmi://127.0.0.1:1099/karaf-root
      • admin/admin

      it should be not possible unless you run jconsole with these parameters:
      -J-Djavax.net.ssl.trustStore="${PATH_TO_JBOSSWEB_KEYSTORE}" -J-Djavax.net.ssl.trustStorePassword="JbossPassword"

      Show
      move keystore.xml to deploy/ folder move jbossweb.keystore to etc/ folder replace org.apache.karaf.management.cfg in etc/ folder (or modify it as specified in description) start fuse system:property myProperty myValue you can use jconsole to check it: remote connection service:jmx:rmi://127.0.0.1:44444/jndi/rmi://127.0.0.1:1099/karaf-root admin/admin it should be not possible unless you run jconsole with these parameters: -J-Djavax.net.ssl.trustStore="${PATH_TO_JBOSSWEB_KEYSTORE}" -J-Djavax.net.ssl.trustStorePassword="JbossPassword"

    Description

      It seems like jmx security does not work. In order to access JMX in previous version it has been required to set two JVM options:
      javax.net.ssl.trustStore
      javax.net.ssl.trustStorePassword

      since fuse-7.8 I am able to work with jmx even without specifying these properties.

      To easily reproduce this problem I am attaching important files.
      file etc/org.apache.karaf.management.cfg modified as follows (you can just append it to your file):

      secured = true
      secureProtocol = TLSv1
      enabledProtocols = TLSv1
      keyStore = sample_keystore
      keyAlias = jbossalias
      trustStore = sample_keystore
      keyStoreAvailabilityTimeout = 30000
      

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            vhais Vratislav Hais (Inactive)
            Vratislav Hais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: