AMQ229031: Unable to validate user from /127.0.0.1:62207. Username: null; SSL certificate subject DN: unavailable

Solution Verified - Updated -

Issue

When trying to access an external AMQ 7 broker from EAP 8 (EAP 7 has the same issues) the following exception gets thrown:

13:35:39,011 INFO  [org.wildfly.extension.messaging-activemq] (Thread-1 (ActiveMQ-client-global-threads)) Creating queue jms.queue.java:/jms/amq/queue/inQueue on node UP df67dec1-28b6-11ef-8fac-708bcd50fd38 - {"name":"artemis","factoryClassName":"org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory","params":{"port":"61716","host":"localhost"},"extraProps":{}}
13:35:39,032 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0042: Started message driven bean 'RemoteQueueMDB' with 'activemq-ra-remote' resource adapter
13:35:39,042 ERROR [org.wildfly.extension.messaging-activemq] (Thread-1 (ActiveMQ-client-global-threads)) Creating queue jms.queue.java:/jms/amq/queue/inQueue on node UP {"name":"artemis","factoryClassName":"org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory","params":{"port":"61716","host":"localhost"},"extraProps":{}} failed: javax.jms.JMSSecurityException: AMQ229031: Unable to validate user from /127.0.0.1:62207. Username: null; SSL certificate subject DN: unavailable
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:545)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:439)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:300)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:249)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1415)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:712)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:318)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:684)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:920)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:299)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:294)
    at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.DestinationConfiguration.createQueueConnection(DestinationConfiguration.java:89)
    at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.DestinationConfiguration.createQueue(DestinationConfiguration.java:93)
    at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.ExternalJMSQueueService$1.nodeUP(ExternalJMSQueueService.java:89)
    at org.apache.activemq.artemis@2.16.0.redhat-00052//org.apache.activemq.artemis.core.client.impl.Topology$3.run(Topology.java:389)
    at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
    at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
    at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
Caused by: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ229031: Unable to validate user from /127.0.0.1:62207. Username: null; SSL certificate subject DN: unavailable] 

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8
    • 7
  • Red Hat AMQ Broker
    • 7.12

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content