Re: Unable to Setup SSL between Java Client and C++ broker

2012-09-04 Thread maverick_muguda
Thanks Robbie. Your suggestion fixed that problem. When i rearranged the order of arguments, to the prescribed order, i am running into an Authentication failed message. the same connection URL (without the ssl='true') used to work fine. why does the same thing fail once i enabled SSL? I see t

Re: Unable to Setup SSL between Java Client and C++ broker

2012-09-03 Thread maverick_muguda
> So you specified -Djavax.net.ssl.trustStore, but that is getting ignored? Yes, the command i am executing is java -Djavax.net.debug=ssl org.apache.qpid.example.Hello -Djavax.net.ssl.trustStore=/ebs/qpid/cpp/trust-store.jks -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keySto

Re: Unable to Setup SSL between Java Client and C++ broker

2012-09-03 Thread maverick_muguda
i enabled the SSL debug mode, find below snippets from the re-execution of the client. trustStore is: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security/cacerts trustStore type is : jks trustStore provider is : init truststore trigger seeding of SecureRandom done seeding SecureRa

Re: Unable to Setup SSL between Java Client and C++ broker

2012-09-03 Thread maverick_muguda
the connectionURL i am using is amqp://guest:guest@clientid/test?brokerlist='tcp://machine-name.us-west-1.compute.amazonaws.com:5674?ssl='true'' I have ensured that the right machine is used. the trust store i am using has both the client certificate as well as the CA certificate " keytool -list

Re: Unable to Setup SSL between Java Client and C++ broker

2012-09-03 Thread maverick_muguda
Thanks Robbie, What you pointed out was one of the problems, doesn't seem like the last one. I ran in to the following exception, when i tried to setup an SSL enabled connection. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger imp

Unable to Setup SSL between Java Client and C++ broker

2012-09-02 Thread maverick_muguda
Hi All, As a newbie to both Qpid and SSL, i am trying to setup a SSL protected route b/w two QPID exchanges. As part of this exercise i am trying to setup a SSL protected connection b/w a CPP broker and a Java Client. I am following the instructions mentioned in the http://rajith.2rlabs.com/2010