Show Table of Contents
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.
See Also:

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.