Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10014

Unable to configure comma delimited enabled-protocols in remote-connector

    Details

      Description

      When I want to configure enabled SSL protocols, Netty requires to use comma delimited list to be passed into enabled-protocols param in remote-connector

      <param name="enabled-protocols" value="TLSv1.1,TLSv1.2"/>
      

      But when comma is used in value in configuration string passed into ActiveMQRaUtils.parseConfig, parsing fails:

      
      Caused by: java.lang.IllegalArgumentException: Invalid expression TLSv1.2 at enabledProtocols=TLSv1.1,TLSv1.2;trustStorePassword=N0tall0wed;keyStorePassword=N0tall0wed;port=61616;localAddress=0.0.0.0;sslEnabled=true;host=localhost;trustStorePath=C:/ActiveMQ/conf/keystore.p12;keyStorePath=C:/ActiveMQ/conf/keystore.p12  
              at org.apache.activemq.artemis.ra.ActiveMQRaUtils.parseConfig(ActiveMQRaUtils.java:205)  
              at org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.setConnectionParameters(ActiveMQResourceAdapter.java:342)  
              ... 18 more  
      

      I set this as critical as it prevent setting more then one allowed SSLContext protocol.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmesnil Jeff Mesnil
                  Reporter:
                  n_nagraj321 Nagaraju Chitimilla
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: