Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4227

ActiveMQSslConnectionFactory does not allow for regular files to be found unless a valid URL is provided or is located on the classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.7.0, 5.8.0
    • 5.8.0
    • JMS client
    • Any

    • Patch Available

    Description

      The factory class does not allow one to pass a keystore or truststore file name that is not a properly formatted URL string or is located within the classpath.

      The problem is that the getUrlOrResourceAsStream method does not take into account a regular file name.

      The patch includes a fix that provides that ability without removing the ability to pass a valid URL string or having the store be located within the client classpath.

      Attachments

        1. ssltruststore.patch
          8 kB
          Claudio Corsi
        2. client.keystore
          2 kB
          Claudio Corsi
        3. server.keystore
          2 kB
          Claudio Corsi

        Activity

          People

            tabish Timothy A. Bish
            ccorsi Claudio Corsi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: