8.2.6. Enable SSL in C++ Clients

The following options can be specified for C++ clients using environment variables:

Table 8.2. SSL Client Environment Variables for C++ clients

SSL Client Options for C++ clients
QPID_SSL_USE_EXPORT_POLICY Use NSS export policy
QPID_SSL_CERT_PASSWORD_FILE PATH File containing password to use for accessing certificate database
QPID_SSL_CERT_DB PATH Path to directory containing certificate database
QPID_SSL_CERT_NAME NAME Name of the certificate to use. When SSL client authentication is enabled, a certificate name should normally be provided.
When using SSL connections, clients must specify the location of the certificate database, a directory that contains the client's certificate and the public key of the Certificate Authority. This can be done by setting the environment variable QPID_SSL_CERT_DB to the full pathname of the directory. If a connection uses SSL client authentication, the client's password is also needed - the password should be placed in a protected file, and the QPID_SSL_CERT_PASSWORD_FILE variable should be set to the location of the file containing this password.
To open an SSL enabled connection in the Qpid Messaging API, set the transport connection option to ssl.