How to enable HTTPS when SSL is working ?

2010-06-02 Thread munger
I am using ActiveMQ 5.3.2 embedded into my Spring based application. My goal is to configure ActiveMQ in order to be able to commnicate with it in HTTPS (requests and responses encapsulated in HTTPS). The SSL part is done: i have a client test application connection with SSL to activemq, and the c

Re: How to enable HTTPS when SSL is working ?

2010-06-03 Thread munger
Thanks a lot Dejan for your answer, here is what i am experiencing: My Embedded ActiveMQ is configured with SSL enabled and https activated also: https://localhost:8443"/> I use another application to test th

Re: How to enable HTTPS when SSL is working ?

2010-06-03 Thread munger
Replying to myself: The problem was that my web server (Jetty) didn't have any SSL connector configured So i added it to my configuration. However, there still a problem i get a 404 error from my server, here is my client log: listenerContainer-1, WRITE: TLSv1 Handshake, length = 32 listene

Re: How to enable HTTPS when SSL is working ?

2010-06-03 Thread munger
Good idea, i'll try that as soon as possible and let you know. I didn't know activemq was embedding a jetty server, so now i have two of them in my app ! :confused: -- View this message in context: http://old.nabble.com/How-to-enable-HTTPS-when-SSL-is-working---tp28755706p28768045.html Sent from

Re: How to enable HTTPS when SSL is working ?

2010-06-03 Thread munger
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+"/con

Re: How to enable HTTPS when SSL is working ?

2010-06-04 Thread munger
Any other idea ? >From what i understand, my server is speaking HTTPS but not SSL and my client doesn't understand the server because he doesn't speak SSL, is that right ? Any other way to make sure my HTTPS connector in activemq speaks SSL ? Thanks a lot!! -- View this message in context: ht

Re: How to enable HTTPS when SSL is working ?

2010-06-07 Thread munger
Hi all, My activeMQ is configured with: https://localhost:443"; enableStatusMonitor="true"/> and i added the ssl connector to my jetty (the one embedded into activemq-all-5.3.2), like this: At startup, it complains because the port 443 is

Re: How to enable HTTPS when SSL is working ?

2010-06-07 Thread munger
Again replying to myself, Now it works with HTTP, i just removed all activemq configuration concerning jetty (for admin consoles). By it still not work with HTTPS, getting the same error. I think i know what the problem is, if somebody has a solution: I can either use SSL or HTTP connectors of

Re: How to enable HTTPS when SSL is working ?

2010-06-07 Thread munger
Thanks a lot for you answer Dejan, I looked at you link, the problem is that i already set all those system properties on server side, and my server is still not responding in SSL when asked to. Do you know if it exists any example of an HTTPS configuration for ActiveMQ somewhere ? I spent hours

Re: How to enable HTTPS when SSL is working ?

2010-06-07 Thread munger
That's very nice to you, thanks a lot Dejan! :) -- View this message in context: http://old.nabble.com/How-to-enable-HTTPS-when-SSL-is-working---tp28755706p28805843.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to enable HTTPS when SSL is working ?

2010-06-07 Thread munger
I confirm the problem is that HTTPS connector is not using SSL but plain text, to prove it, i try to connect my client like this: jms.producer.connection.url = http://localhost:8443 where 8443 is the port defined for https connector of activemq.xml configuration file. So this connector doesn't k

Re: How to enable HTTPS when SSL is working ?

2010-06-08 Thread munger
I feel like it seems an activemq bug, as the https transportConnector creates a plain text socket and not a ssl socket type. Where can i report this bug please ? thanks - --- www.maxizone.fr www.maxiblog.fr -- View this message in context: http://old.nabble.com/How-to-enable-HTTPS-when-SS

Re: How to enable HTTPS when SSL is working ?

2010-06-08 Thread munger
Ok it works ! :) The problem was very simple : i had to upgrade from activemq-optional-5.2.jar to activemq-optional-5.3.1.jar Shame on me ! hope it could help some of you guys! - --- www.maxizone.fr www.maxiblog.fr -- View this message in context: http://old.nabble.com/How