Thanks for the heads up - I've added these comments to the SSL reference...

http://activemq.org/site/ssl-transport-reference.html

On 6/20/06, Gerdes, Mike <[EMAIL PROTECTED]> wrote:

I work with SSL all the time without having any problems. When I start AMQ I 
add the following parameters to the AMQ start script:

-Djavax.net.ssl.trustStore="path to truststore" 
-Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore="path to keystore" 
-Djavax.net.ssl.keyStorePassword=password

you can also turn on SSL debug informations this way by adding:

-Djavax.net.debug=ssl

this way you can see what goes wrong and why you get connection closed.

-----Ursprüngliche Nachricht-----
Von: bbernard [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 20. Juni 2006 06:49
An: [email protected]
Betreff: Re: Cannot get SSL working




Hi all,

Has anyone got this working? I have a similar enviroment setting (with sun
jdk 1.5.0_07 instead) with mbmerr, and having the same exception:

        javax.jms.JMSException: Connection closed by remote host

While trying the HelloWorld example, as mentioned here:

       http://incubator.apache.org/activemq/hello-world.html

I also see the same exception. However, if I commented out the

        connection.close();

then the exception are gone. But this does not seem the right way to do it,
though. Note that I have commented out HelloWorldBroker:

        public void run() {
            //org.activemq.broker.impl.Main.main(args);
            // version 4.0
            //BrokerService broker = new BrokerService();
            //broker.addConnector("ssl://localhost:61616");
            //broker.start();
        }

since I do not want to start up an in-jvm broker. I have a broker started on
another console.

Trying ActiveMQ's example as mbmerr did, also produced the same exception.

Any suggestion is greatly appreaciated.

Thanks,
/bernard
--
View this message in context: 
http://www.nabble.com/Cannot-get-SSL-working-t1689166.html#a4949069
Sent from the ActiveMQ - User forum at Nabble.com.



This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

This mail has originated outside your organization, either from an external 
partner or the Global Internet. Keep this in mind if you answer this message.



--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to