Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3081

Cannot override the default Java key/truststore system properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0, 2.16.0
    • 2.17.0
    • None

    Description

      If an application wants to use a special key/truststore for Artemis but have the remainder of the application use the default Java store, the

      org.apache.activemq.ssl.keyStore

      needs to take precedence over Java's

      javax.net.ssl.keyStore

      However, the current implementation takes the first non-null value from

      System.getProperty(JAVAX_KEYSTORE_PATH_PROP_NAME)
      System.getProperty(ACTIVEMQ_KEYSTORE_PATH_PROP_NAME)
      keyStorePath

      So if the default Java property is set, no override is possible.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              inkarkat Ingo Karkat
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m