Configuring RabbitMQ v3.8.18 in SSL mode for IQ Bot

Configure RabbitMQ v3.8.18 to enable SSL/TLS communication between applications and RabbitMQ v3.8.18. This configuration enables you to disable default or nonsecure listeners.

Prerequisites

Ensure you install IQ Bot using the PFX file with HTTPS configuration.

Procedure

  1. Navigate to the following folder: C: \Program Files (x86)\Automation 360 IQ Bot\Configuration
  2. Edit the following settings in the Settings.properties file:
    1. Change the value of secureRabbitMQCommunication from False to True.
    2. Enter the certificate paths for RabbitMQClientP12CertPath, RabbitMQClientJKSCertPath, and RabbitMQKeyPassphrase.
  3. Open RabbitMQ v3.8.18 and enter the %appdata%\RabbitMQ directory.
  4. Edit the rabbitmq.conf file and review the following parameters:
    • listeners.tcp = none
    • listeners.ssl.default = 5671
    • ssl_options.cacertfile = <certificate path>/ca_certificate.pem
    • ssl_options.certfile = <certificate path>/server_certificate.pem
    • ssl_options.keyfile = <certificate path>/server_key.pem
    • ssl_options.verify = verify_peer
    • ssl_options.fail_if_no_peer_cert = true
  5. Restart the RabbitMQ v3.8.18 service.
  6. In the C: \Program Files (x86)\Automation 360 IQ Bot\Configuration filepath, run the following commands to reinstall IQ Bot services:
    1. stopanduninstallallservices.bat
    2. installandstartallservices.bat
    RabbitMQ v3.8.18 is configured in SSL mode.