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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 15.0.0.Beta1, 15.0.0.Final
    • 12.0.0.Final
    • JMS
    • None

      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.

              jmesnil1@redhat.com Jeff Mesnil
              n_nagraj321 Nagaraju Chitimilla (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: