| Apache Qpid > Index > Qpid Java Documentation > Qpid Java How To > Configure Java Qpid to use a SSL connection. |
Home
Download
Getting Started
Documentation
Mailing Lists
Issue Reporting
FAQ/How to
Getting Involved
Qpid Integrated with..
Source Repository
Building Qpid
Developer Pages
QMF
People
License
Project Status
Acknowledgments
What is AMQP ?
AMQP Specification Download

This section will show how to use SSL to enable secure connections between a Java client and broker.
The broker configuration file (config.xml) needs to be updated to include the SSL keystore location details.
<ssl>
<enabled>true</enabled>
<sslOnly>true</sslOnly>
<keystorePath>/path/to/keystore.ks</keystorePath>
<keystorePassword>keystorepass</keystorePassword>
</ssl>
The sslOnly option is included here for completeness however this will disable the unencrypted port and leave only the SSL port listening for connections.
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.