Hello,


I am trying to connect a java client to a broker c++ on a ubuntu machine with active ssl module.

The first thing I do is create the CA with their databases, then the server side and client side (following the mozilla manual http://www.mozilla.org/projects/security/pki/nss/ref/ssl/gtstd.html).

Then run the broker with the configuration for ssl, indicating the directory where i have the certificates (server_db) and also putting the option of authentication of clients(--ssl-require-client-authentication
), this works correctly.

In the part of the client i followed some steps with the command keytool in order to create the neccessary file (keystore.jks y certstore.jks) and then pass the JVM arguments (this are: -Djavax.net.ssl.keyStore=/home/bob/ssl_test/keystore.jks
   -Djavax.net.ssl.keyStorePassword=password
   -Djavax.net.ssl.trustStore=/home/bob/ssl_test/certstore.jks
   -Djavax.net.ssl.trustStorePassword=password
), but when i run the client, the broker said:


Could not accept socket: Failed: Unknown NSS error code. [-5938] (qpid/sys/ssl/SslSocket.cpp:123)


What is the problem?

Thanks

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to