activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ-CPP with SSL
Date Fri, 11 May 2012 18:01:52 GMT
On Fri, 2012-05-11 at 14:50 -0300, Daniel Duarte Figueiredo wrote: 
> (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:
> 
>  <http://activemq.apache.org/how-do-i-use-ssl.html>
> http://activemq.apache.org/how-do-i-use-ssl.html
> 
> 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  <http://activemq.apache.org/cms/>
> http://activemq.apache.org/cms/ 
> 
> 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 (
> <http://activemq.apache.org/how-do-i-use-ssl.html>
> http://activemq.apache.org/how-do-i-use-ssl.html) 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
> 
>  

See the docs on the ActiveMQ-CPP site:
http://activemq.apache.org/cms/how-do-i-use-the-ssl-transport.html 

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


Mime
View raw message