activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Duarte Figueiredo" <>
Subject ActiveMQ-CPP with SSL
Date Fri, 11 May 2012 17:50:57 GMT
(Sorry if this message gets sent twice, but I got a "Mail delivery failed"
in the first attempt)


Hello everyone,

I've seen it was discussed before, but I didn't find a solution that worked
for me. I started working with ActiveMQ a few weeks ago, and my application
is written in Java. I needed to establish connection with the ActiveMQ
broker using SSL, and I was able to achieve this using this tutorial:


We will have C++ clients communicating with our server, and I need to submit
a proof of concept to show that it is possible to a program implemented in
C++ to communicate with the ActiveMQ broker using SSL. For this purpose, I
downloaded the ActiveMQ-CPP from  <> 

After building it, I tried running the example. It worked with the TCP
connection. Can anyone help me with the SSL connection? 

I tried using the same keystore, certificate and truststore generated with
the tutorial I used for the java client (
<> but it didn't work. I
tried to convert my certificate to a .pem file but it also didn't work. Has
anyone ever achieved this? Is there a "how to" similar to that for java? I
think I will need to create a different kind of keystore and certificate for
the broker, and set the properties that point the location of these files.


Daniel Duarte Figueiredo






  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message