[jboss-jira] [JBoss JIRA] (WFLY-10014) Unable to configure comma delimited enabled-protocols in remote-connector

Nagaraju Chitimilla (JIRA) issues at jboss.org
Tue Mar 13 11:22:00 EDT 2018


Nagaraju Chitimilla created WFLY-10014:
------------------------------------------

             Summary: Unable to configure comma delimited enabled-protocols in remote-connector
                 Key: WFLY-10014
                 URL: https://issues.jboss.org/browse/WFLY-10014
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 12.0.0.Final
            Reporter: Nagaraju Chitimilla
            Assignee: Jason Greene
            Priority: Critical


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


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

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


{code:java}

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  
{code}


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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list