How do you create your certificates and what JDK do you use? It seems like your JDK can't read your keystore.
Regards -- Dejan Bosanac ---------------------- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Tue, Nov 27, 2012 at 11:23 AM, joesan <codeintheo...@gmail.com> wrote: > 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.