This page applies to Java Broker versions before 0.12. For up to date details refer to the Qpid JMS client documentation and the Broker Ports section with the Java Broker book.

Using SSL connection with Qpid Java.

This section will show how to use SSL to enable secure connections between a Java client and broker.


Broker Setup

The broker configuration file (config.xml) needs to be updated to include the SSL keystore location details.

Additions required to Connector Section

The sslOnly option is included here for completeness however this will disable the unencrypted port and leave only the SSL port listening for connections.

Client Setup

The best place to start looking is class SSLConfiguration this is provided to the connection during creation however there is currently no example that demonstrates its use.

Performing the connection.

  • No labels