Add SSL listener to RabbitMQ

Bug #1496001 reported by Major Hayden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Major Hayden
Kilo
Fix Released
Wishlist
Major Hayden
Trunk
Fix Released
Wishlist
Major Hayden

Bug Description

RabbitMQ currently only listens on 5672 without SSL. It would enhance security if there was a listener with SSL support on the default SSL port (5671) so that services could optionally communicate with RabbitMQ via SSL.

Changed in openstack-ansible:
assignee: nobody → Major Hayden (rackerhacker)
Revision history for this message
Ian Cordasco (icordasc) wrote :

If I understand correctly, rabbit does not listen publicly, only on the container network. I agree with the idea of adding security everywhere we can, but if someone can listen on the container network, isn't it a bit pointless by then to be encrypting traffic?

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Major Hayden (rackerhacker) wrote :

Encrypted communication is required in PCI environments as required by sections 2 and 4 of PCI DSS 3.1. Although cardholder data doesn't pass through RabbitMQ directly, an attacker could use data that may appear in RabbitMQ messages to gain additional access to systems on the network.

My goal here is to do something *additive*. Fixing this bug should allow RabbitMQ to use TLS-encrypted connections but it shouldn't have any impact on existing plaintext connections.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/223717

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/223717
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=4a1d412f8cd715f2829867026b64edabf97ad521
Submitter: Jenkins
Branch: master

commit 4a1d412f8cd715f2829867026b64edabf97ad521
Author: Major Hayden <email address hidden>
Date: Tue Sep 15 09:52:19 2015 -0500

    Add SSL/TLS listener to RabbitMQ

    This patch adds a SSL/TLS listener to RabbitMQ without disrupting the existing
    plaintext TCP listener. Various services that use RabbitMQ will have the
    option to encrypt messaging traffic with this change. Documentation is
    included for this change.

    By default, it will create a self-signed certificate for the user, but users
    have the option to specify their own existing certificates as well.

    This makes it easier to bring RabbitMQ (and the services which talk to it)
    into compliance with PCI DSS 3.1's Requirement 2.2.3.

    In addition, this change is recommended within the OpenStack Security Guide.

    Closes-bug: 1496001

    Change-Id: I0d29cbb6e963b24f77a8375eba8a8c6a558aaf81

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/228562

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (kilo)

Reviewed: https://review.openstack.org/228562
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=cdc33bc295366f155df6a17d0f438cdac419a624
Submitter: Jenkins
Branch: kilo

commit cdc33bc295366f155df6a17d0f438cdac419a624
Author: Major Hayden <email address hidden>
Date: Tue Sep 15 09:52:19 2015 -0500

    Add SSL/TLS listener to RabbitMQ

    This patch adds a SSL/TLS listener to RabbitMQ without disrupting the existing
    plaintext TCP listener. Various services that use RabbitMQ will have the
    option to encrypt messaging traffic with this change. Documentation is
    included for this change.

    By default, it will create a self-signed certificate for the user, but users
    have the option to specify their own existing certificates as well.

    This makes it easier to bring RabbitMQ (and the services which talk to it)
    into compliance with PCI DSS 3.1's Requirement 2.2.3.

    In addition, this change is recommended within the OpenStack Security Guide.

    Closes-bug: 1496001

    Change-Id: I0d29cbb6e963b24f77a8375eba8a8c6a558aaf81

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.