Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable configuring SSL for Erlang distribution #574

Merged
merged 1 commit into from Aug 31, 2017

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Aug 29, 2017

As mentioned in the RabbitMQ documentation [1], this sets up the
necessary parameters through environment variables to use the relevant
-proto_dist value, and enable the ssl path (through the -pa option) if
necessary.

[1] https://www.rabbitmq.com/clustering-ssl.html

@JAORMX
Copy link
Contributor Author

JAORMX commented Aug 29, 2017

@jeckersb

@JAORMX JAORMX force-pushed the tls-proto-dist branch 8 times, most recently from 42f21f3 to 1ec716a Compare August 29, 2017 07:22
@wyardley
Copy link
Contributor

In addition to rebase, we're switching to expect syntax, so can you update the specs to use the new syntax and squash commits? There is some ongoing structural maintenance, so unfortunately, there could end up being another round of rebasing at some point.

After reading the link, the purpose of this PR is a little more clear, but it would be good if it could have some additional review.

:ssl_erl_dist => true }
}
it 'should enable inet6 distribution' do
should contain_file('rabbitmq-env.config') \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switch these (and the others) to is.expected_to type syntax

@JAORMX
Copy link
Contributor Author

JAORMX commented Aug 31, 2017

@wyardley thanks for the review. Amended the commit to address your comments.

As mentioned in the RabbitMQ documentation [1], this sets up the
necessary parameters through environment variables to use the relevant
-proto_dist value, and enable the ssl path (through the -pa option) if
necessary.

[1] https://www.rabbitmq.com/clustering-ssl.html
@bastelfreak bastelfreak merged commit e508a58 into voxpupuli:master Aug 31, 2017
openstack-gerrit pushed a commit to openstack-archive/puppet-tripleo that referenced this pull request Sep 4, 2017
This follows the RabbitMQ docs [1] for enabling TLS for the replication
traffic. It reuses the certificate that rabbitmq already has.

Unfortunately, pacemaker uses the shortname for the rabbitmq nodes, so
we are not able to do proper verification of the certificates, since we
can't allocate a certificate for shortnames. So, until pacemaker can
track the rabbit nodes through their FQDNs, we don't set any verification
options.

[1] https://www.rabbitmq.com/clustering-ssl.html

Depends on: voxpupuli/puppet-rabbitmq#574

bp tls-via-certmonger
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: I265c89cb8898a6da78a606664a22c50f5e57a847
@wyardley wyardley added the enhancement New feature or request label Sep 5, 2017
openstack-gerrit pushed a commit to openstack-archive/puppet-tripleo that referenced this pull request Sep 6, 2017
This follows the RabbitMQ docs [1] for enabling TLS for the replication
traffic. It reuses the certificate that rabbitmq already has.

Unfortunately, pacemaker uses the shortname for the rabbitmq nodes, so
we are not able to do proper verification of the certificates, since we
can't allocate a certificate for shortnames. So, until pacemaker can
track the rabbit nodes through their FQDNs, we don't set any verification
options.

[1] https://www.rabbitmq.com/clustering-ssl.html

Depends on: voxpupuli/puppet-rabbitmq#574

bp tls-via-certmonger
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: I265c89cb8898a6da78a606664a22c50f5e57a847
(cherry picked from commit 52404b8)
Slm0n87 pushed a commit to Slm0n87/puppet-rabbitmq that referenced this pull request Mar 7, 2019
Enable configuring SSL for Erlang distribution
cegeka-jenkins pushed a commit to cegeka/puppet-rabbitmq that referenced this pull request Mar 26, 2021
Enable configuring SSL for Erlang distribution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants