Authenticating connections
The RabbitMQ adapter supports username and password-based authentication to establish the connections to the RabbitMQ broker. The username and password credentials need to be specified in the User and Password properties in the connection definition for the adapter. The provided credentials are mandatory to authenticate AMQP connections established on the Port property and HTTP connections established on the Management Port property.
In addition to the authentication of the user based on the username and password
credentials, the adapter supports certificate-based authentication with the RabbitMQ
broker by utilizing TLS-secured AMQP and
HTTP connections.
- The adapter can be configured to request the RabbitMQ broker to provide a certificate that the adapter validates using the truststore information specified in the Truststore Location and Truststore Password properties.
- The Verify Hostname property can be set to instruct the adapter to verify, if the host name specified in the connection is also listed in the certificate presented by the broker. The adapter can also be configured to present its certificate using the keystore information specified in the Keystore Location, Keystore Password, and Key Password properties when the broker is configured to request clients to provide their certificate when connecting to it. The Key Password is applicable when the private key in the keystore is protected by a password different from the keystore password.