activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joesan <codeintheo...@gmail.com>
Subject ActiveMQ SSL Client
Date Tue, 27 Nov 2012 10:23:15 GMT
Guys,

I'm trying to get my ActiveMQ server run using a SSL connection. I have done
the following:

(1) Created the broker keystore (self signed certificate)
(2) Exported the broker certificate
(3) Created the client keystore
(4) Created the client trust store
(5) Imported the broker certificate in the client trust store
(6) Use the ActiveMQSslConnectionFactory to create the connection
(7) Set the client's keystore and truststore to the connection factory
(8) Placed the broker keystore under ACTIVEMQ_HOME/conf/
(9) Configured the SSLContext in the activemq.xml file and the SSL transport
connector
(10) Started the broker
(11) Started the client

As soon as I start my client, I see the following error messages:

The broker console shows the following message:

*ERROR | Could not accept connection from tcp://127.0.0.1:55737:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateException: No X509TrustManager implementation
avaiable*

The client console shows the following error message:

*[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project
etrm-amq-client: An exception occured while executing the Java clas
s. null: InvocationTargetException: Could not connect to broker URL:
ssl://localhost:61617. Reason: java.net.SocketException: Software caused
connection abort: socket wri
te error -> [Help 1]*






--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-SSL-Client-tp4659805.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message