SSL How to

1. C++ broker (M4 and up)
2. Java Client
3. .Net Client

C++ broker (M4 and up)

Here is an example of a broker instance that requires SSL client side authenticaiton

./qpidd ./qpidd --load-module /libs/ssl.so --ssl-cert-password-file ~/pfile --ssl-cert-db ~/server_db/ --ssl-cert-name localhost.localdomain --ssl-require-client-authentication

Java Client (M4 and up)

.Net Client (M4 and up)

Use the connectSSL instead of the standard connect method of the client interface.

connectSSL signature is as follows:

public void connectSSL(String host, int port, String virtualHost, String username, String password, String serverName, String certPath, bool rejectUntrusted)

Where

Python & Ruby Client (M4 and up)

Simply use amqps:// in the URL string as defined above