Hi all,

more precision.

For there is a bug when we use my configuration.
I used the latest activeMq 5.15.2

I put my netbeans in debug mode.
Inside the JaasCertificateAuthenticationBroker class, on addConnection the
info.getTransportContext() return null, will a X509Certificate[] is
expected. I assumed the transportContext inside the ConnectionInfo is not
filled ?  Why I don't know???
When I launch my activeMq I set -Djavax.net.debug=ssl,handshake so I saw all
ssl debug and all trusted cert are well see.

Here the stack trace 

java.lang.SecurityException: Unable to authenticate transport without SSL
certificate.
        at
org.apache.activemq.security.JaasCertificateAuthenticationBroker.addConnection(JaasCertificateAuthenticationBroker.java:73)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.security.JaasDualAuthenticationBroker.addConnection(JaasDualAuthenticationBroker.java:92)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:99)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:843)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:77)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[activemq-client-5.15.2.jar:5.15.2]
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:330)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:194)[activemq-broker-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:77)[activemq-client-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.AmqpTransportFilter.sendToActiveMQ(AmqpTransportFilter.java:123)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.protocol.AmqpConnection.sendToActiveMQ(AmqpConnection.java:799)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.protocol.AmqpConnection.processConnectionOpen(AmqpConnection.java:470)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.protocol.AmqpConnection.processProtonEvents(AmqpConnection.java:402)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.protocol.AmqpConnection.onAMQPData(AmqpConnection.java:380)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.amqp.AmqpTransportFilter.onCommand(AmqpTransportFilter.java:107)[activemq-amqp-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.tcp.SslTransport.doConsume(SslTransport.java:108)[activemq-client-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233)[activemq-client-5.15.2.jar:5.15.2]
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)[activemq-client-5.15.2.jar:5.15.2]
        at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
 WARN | Security Error occurred on connection to: tcp://xxx.xx.xx.xx:58173,
Unable to authenticate transport without SSL certificate.

But you see at the end tcp://....... normally ssl://  ????????

Regards





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to