qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Unable to Setup SSL between Java Client and C++ broker
Date Mon, 03 Sep 2012 18:19:13 GMT
On 09/03/2012 05:53 PM, maverick_muguda wrote:
> 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
>
> <the truststore is different from what i am suggesting from the command
> prompt>

So you specified -Djavax.net.ssl.trustStore, but that is getting ignored?

[...]
> While on the server side, i make the following observations
>
> Find below the command i execute and its output:
>
>   /ebs/qpid/cpp/src/qpidd --load-module src/.libs/ssl.so  --ssl-cert-db
> server_db/  --ssl-cert-password-file broker-pfile  --ssl-cert-name
> ec2-XXX.us-west-1.compute.amazonaws.com  --ssl-port 5674
> 2012-09-03 13:34:28 notice Listening on TCP/TCP6 port 5672
> 2012-09-03 13:34:28 notice Listening for SSL connections on TCP port 5674
> 2012-09-03 13:34:28 notice SSL plugin not enabled, you must set
> --ssl-cert-db to enable it.
> 2012-09-03 13:34:28 notice Broker running
> 2012-09-03 13:35:30 error Error reading socket: Encountered end of file
> [-5938]
>
> <note the message about SSL plugin not enabled, even though i pass the flag
> and parameter>

Try adding the --no-module-dir option to the broker. The error is odd 
and I wonder if you have some other version of the SSL plugin also 
loaded from elsewhere (i.e. from the default module dir on your system).


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message