Could not set property enabledCipherSuites on...

Solution In Progress - Updated -

Issue

Originally, when setting cipher suites up on the transport connecter as such:

<transportConnectors>
    <transportConnector name="ssl" uri="ssl://0.0.0.0:61616?maximumConnections=1000&needClientAuth=false&transport.enabledCipherSuites=TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DH_RSA_WITH_AES_256_CBC_SHA256,TLS_DH_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_SHA256,TLS_RSA_WITH_AES_128_SHA256" ></transportConnector>
</transportConnectors>

The cipher suite ran fine. However, now an error such as this comes up:

03 juin 2014 14:24:03,205 | ERROR | pool-12-thread-1 | IntrospectionSupport | 195 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Could not set property enabledCipherSuites on [SSL: ServerSocket[addr=/0.0.0.0,localport=61616]]
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_51]
    at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_51]
    at org.apache.activemq.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:178)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.tcp.TcpTransportServer.configureServerSocket(TcpTransportServer.java:171)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:133)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.tcp.SslTransportServer.bind(SslTransportServer.java:104)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.tcp.SslTransportFactory.doBind(SslTransportFactory.java:63)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:318)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:144)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:110)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2064)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2531)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2448)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:693)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:659)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.BrokerService.start(BrokerService.java:595)[195:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:420)[254:org.jboss.amq.mq-fabric:6.1.0.redhat-379]
    at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:368)[254:org.jboss.amq.mq-fabric:6.1.0.redhat-379]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
    at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
Caused by: java.lang.IllegalArgumentException: Unsupported ciphersuite TLS_DH_RSA_WITH_AES_256_CBC_SHA256
    at sun.security.ssl.CipherSuite.valueOf(CipherSuite.java:231)[:1.7.0_51]
    at sun.security.ssl.CipherSuiteList.<init>(CipherSuiteList.java:82)[:1.7.0_51]
    at sun.security.ssl.SSLServerSocketImpl.setEnabledCipherSuites(SSLServerSocketImpl.java:191)[:1.7.0_51]
    ... 26 more

This worked in 6.0 and no longer works in 6.1

Environment

  • Red Hat JBoss Fuse 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.