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://0.0.0.0:61617" /> to activemq.xml I've defined: export SSL_OPTS="-Djavax.net.ssl.keyStore=/home/opernas/broker.ks -Djavax.net.ssl.keyStorePassword=password" And started broker without error. In my application i've set the line: decaf::lang::System::setProperty( "decaf.net.ssl.trustStore", getCertificate() ); But when Im starting the app, the the connection cant be stablished, and its freezes waiting to connect. Whay I'm doing wrong? regards -- Óscar Pernas Plaza.