activemq-users mailing list archives

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

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
(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:// No X509TrustManager implementation

The client console shows the following error message:

[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: Software caused
connection abort: socket wri
te error -> [Help 1]*

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message