Finally it doesn't work better, i added this on the server side app (the who
embeds activemq):

System.setProperty("javax.net.ssl.keyStore",simRoot+"/conf/certs/broker.ks");
System.setProperty("javax.net.ssl.keyStorePassword","q5qpTEBb");
System.setProperty("javax.net.ssl.trustStore",simRoot+"/conf/certs/client.ts");
System.setProperty("javax.net.ssl.trustStorePassword","q5qpTEBb");

which was already present on the client side.

But i have the same error............ :

task-scheduler-2, WRITE: TLSv1 Handshake, length = 73
task-scheduler-2, WRITE: SSLv2 client hello message, length = 98
task-scheduler-2, handling exception: javax.net.ssl.SSLException:
Unrecognized SSL message, plaintext connection?
task-scheduler-2, SEND TLSv1 ALERT:  fatal, description = unexpected_message
-- 
View this message in context: 
http://old.nabble.com/How-to-enable-HTTPS-when-SSL-is-working---tp28755706p28769072.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to