activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: SSL Connection with ActiveMQ-CPP 3.4.5 and 3.5.0 in OSX
Date Wed, 16 Jan 2013 16:28:10 GMT
On Wed, 2013-01-16 at 08:22 -0800, jorge.medra wrote: 
> Hi 
> 
> This is the error that ActiveMQ Server register at the moment client wants
> making connection:
> 
> Whit failover
> 
> 2013-01-16 09:51:45,307 | INFO  | Started
> SelectChannelConnector@0.0.0.0:8161 |
> org.eclipse.jetty.server.AbstractConnector | main
> 2013-01-16 09:52:01,560 | WARN  | Transport Connection to:
> tcp://192.168.100.168:49290 failed: javax.net.ssl.SSLHandshakeException:
> Received fatal alert: unknown_ca |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> Transport: ssl:///192.168.100.168:49290
> 2013-01-16 09:52:01,564 | ERROR | Could not accept connection from
> tcp://192.168.100.168:49290: javax.net.ssl.SSLHandshakeException: Received
> fatal alert: unknown_ca | org.apache.activemq.broker.TransportConnector |
> ActiveMQ Task-1
> 2013-01-16 09:52:16,573 | WARN  | Transport Connection to:
> tcp://192.168.100.168:49291 failed: javax.net.ssl.SSLHandshakeException:
> Received fatal alert: unknown_ca |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> Transport: ssl:///192.168.100.168:49291
> 2013-01-16 09:52:16,574 | ERROR | Could not accept connection from
> tcp://192.168.100.168:49291: javax.net.ssl.SSLHandshakeException: Received
> fatal alert: unknown_ca | org.apache.activemq.broker.TransportConnector |
> ActiveMQ Task-1
> 2013-01-16 09:52:31,607 | WARN  | Transport Connection to:
> tcp://192.168.100.168:49292 failed: javax.net.ssl.SSLHandshakeException:
> Received fatal alert: unknown_ca |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> Transport: ssl:///192.168.100.168:49292
> 2013-01-16 09:52:31,607 | ERROR | Could not accept connection from
> tcp://192.168.100.168:49292: javax.net.ssl.SSLHandshakeException: Received
> fatal alert: unknown_ca | org.apache.activemq.broker.TransportConnector |
> ActiveMQ Task-1
> 
> Whitout failover:
> 
> 2013-01-16 10:17:02,524 | INFO  | Started
> SelectChannelConnector@0.0.0.0:8161 |
> org.eclipse.jetty.server.AbstractConnector | main
> 2013-01-16 10:17:36,135 | WARN  | Transport Connection to:
> tcp://192.168.100.168:49400 failed: javax.net.ssl.SSLHandshakeException:
> Received fatal alert: unknown_ca |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> Transport: ssl:///192.168.100.168:49400
> 2013-01-16 10:17:36,137 | ERROR | Could not accept connection from
> tcp://192.168.100.168:49400: javax.net.ssl.SSLHandshakeException: Received
> fatal alert: unknown_ca | org.apache.activemq.broker.TransportConnector |
> ActiveMQ Task-1
> 
> 
> In both case the error is the same and,  as I can see, the api is trying to
> connect several times and that could be the reason that the API is freezing
> in line amqConnection->start().
> 
> 
> 

A freeze in start is expected if the client cannot connect and you are
using failover, the client is trying to connect so it can't proceed past
start().

The problem appears to be that your broker doesn't have the client
certificate in its trust store. 

> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/SSL-Connection-with-ActiveMQ-CPP-3-4-5-and-3-5-0-in-OSX-tp4661808p4661827.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message