[jboss-jira] [JBoss JIRA] (WFLY-10014) Unable to configure comma delimited enabled-protocols in remote-connector
Nagaraju Chitimilla (JIRA)
issues at jboss.org
Wed Mar 14 07:01:01 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545639#comment-13545639 ]
Nagaraju Chitimilla edited comment on WFLY-10014 at 3/14/18 7:00 AM:
---------------------------------------------------------------------
I have tried escaping the with the following options, but its always giving exception:
<param name="enabled-protocols" value="TLSv1.1\\,TLSv1.2"/>
*Error:* java.lang.IllegalArgumentException: Invalid expression TLSv1.2 at enabledProtocols=TLSv1.1\\,TLSv1.2
<param name="enabled-protocols" value="TLSv1.1"\\,"TLSv1.2"/>
*Error:*
<param name="enabled-protocols" value="TLSv1.1"\\,"TLSv1.2"/>
^^^^ Unexpected character '\' (code 92) excepted space, or '>' or "/>"
at [row,col {unknown-source}]: [656,53]
Can you let me know the exact behavior?
Thanks in advance
-Nagaraju
was (Author: n_nagraj321):
I have tried escaping the with the following options, but its always giving exception:
<param name="enabled-protocols" value="TLSv1.1\\,TLSv1.2"/>
*Error:* java.lang.IllegalArgumentException: Invalid expression TLSv1.2 at enabledProtocols=TLSv1.1\\,TLSv1.2
<param name="enabled-protocols" value="TLSv1.1"\\,"TLSv1.2"/>
*Error:*
<param name="enabled-protocols" value="TLSv1.1"\\,"TLSv1.2"/>
^^^^ Unexpected character '\' (code 92) excepted space, or '>' or "/>"
at [row,col {unknown-source}]: [656,53]
Can you let me know the exact behavior?
Thanks in advance
-Nagaraju
> 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
> Components: JMS
> Affects Versions: 12.0.0.Final
> Reporter: Nagaraju Chitimilla
> Assignee: Jeff Mesnil
> 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