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

Do not update ssl client keystore/truststore path on topology update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 2.0.0
    • None
    • None
    • None

    Description

      We have a 2 node cluster where clients and the refrenced connectors in the cluster-connection do use ssl client auth (all working so far). Now if a failover ocures - live server goes down - the clients try to re-connect with the client keystore path that is defined on the connector in the server.

      We know that it is possible to overwrite this behavoir by using org.apache.activemq.ssl.keyStore system property. But we have multiple keystores and want to use them. Would it be possible, that this settings:
      org.apache.activemq.artemis.core.remoting.impl.netty.TransportConstants.KEYSTORE_*
      org.apache.activemq.artemis.core.remoting.impl.netty.TransportConstants.TRUSTSTORE_*
      will not be updated from the server? I can not think of a scenario, where it would make sense that the server tells the client where the client has to look for his keystore and truststore settings.

      Attachments

        1. ArtemisMqCrashDemoClient.java
          4 kB
          Philipp Aeschlimann
        2. broker.xml
          3 kB
          Philipp Aeschlimann

        Activity

          People

            Unassigned Unassigned
            paeschli Philipp Aeschlimann
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: