activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Pernas <>
Subject ACTIVEMQ-CPP. Using ssl
Date Wed, 01 Dec 2010 13:02:18 GMT
Hi all,

Im trying to use ssl with activemq-cpp. Im trying to give you a manual of
what I've do, and please correct me if something is wrong (something is
wrong because is not working)

Generatet the keystore for the broker

 keytool -genkey -alias broker -keyalg RSA -keystore broker.ks

Export the cert of the broker

keytool -export -alias broker -keystore broker.ks -file broker.cert

Converting into pem format:

openssl x509 -inform der -in broker.cert -out broker.pem

Broker started adding

<transportConnector name="ssl" uri="ssl://" />

to activemq.xml

I've defined:

export SSL_OPTS=""

And started broker without error.

In my application i've set the line:

decaf::lang::System::setProperty( "",
getCertificate() );

But when Im starting the app, the the connection cant be stablished, and its
freezes waiting to connect. Whay I'm doing wrong?


Óscar Pernas Plaza.

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