/amqplib-696

Primary LanguageJavaScript

A project for demonstrating how to use amqplib with TLS. See amqp-node/amqplib#696. Follow this guide to generate new certs/keys

Running

Start RabbitMQ

docker-compose up

Create a user

Use the management plugin to create a RabbitMQ user with the following details

  • username O=client,CN=${YOUR LOCAL MACHINE HOSTNAME}
  • password password

Grant the user access to the default vhost

Connect using amplib

npm i
node index