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

Update the ssl_ciphers parameter to support the OpenSSL style #785

Merged
merged 1 commit into from
Dec 2, 2019

Conversation

jamgregory
Copy link
Contributor

Pull Request (PR) description

Currently, this module only supports the old Erlang style, but RabbitMQ post-3.7.9 (rabbitmq/rabbitmq-server#1712) supports the OpenSSL style.

This change allows the rabbitmq.config file to determine which style is being used, and apply that when defining SSL cipher suites.

This Pull Request (PR) fixes the following issues

n/a

Copy link
Contributor

@wyardley wyardley left a comment

Choose a reason for hiding this comment

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

Can you also update the puppet strings docs:

# @param ssl_ciphers

Currently, this module only supports the old Erlang style, but RabbitMQ post-3.7.9 (rabbitmq/rabbitmq-server#1712) supports the OpenSSL style.
This change allows the rabbitmq.config file to determine which style is being used, and apply that when defining SSL cipher suites
@jamgregory jamgregory force-pushed the updated-ssl-cipher-support branch from bcfe48a to df0c395 Compare March 28, 2019 15:36
@jamgregory
Copy link
Contributor Author

Can you also update the puppet strings docs:

puppet-rabbitmq/manifests/init.pp

Line 256 in 7613f08

@param ssl_ciphers

Thanks @wyardley - I've updated that now.

Copy link
Contributor

@wyardley wyardley left a comment

Choose a reason for hiding this comment

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

Would it be hard to preserve the sorted ordering? If we release this, it may cause a reload for existing configs, no?

@jamgregory
Copy link
Contributor Author

Would it be hard to preserve the sorted ordering? If we release this, it may cause a reload for existing configs, no?

Ah, good point. The reason I removed that was because sorting them like that may cause less secure algorithms to float to the top above more secure ones (for example, DHE would come before ECDHE, but ECDHE is more secure).

I'm happy to put something in that causes the order to be preserved if the ssl_honor_cipher_order is set to true, otherwise it just sorts them - that should avoid existing configs being re-ordered?

@wyardley
Copy link
Contributor

Mm - I see what you’re saying. I don’t know if this warrants a new parameter, may be better to just release it like this (it makes the code easier to read too).

Let’s see if @bastelfreak thinks that should make this a breaking change.

@wyardley wyardley requested a review from bastelfreak March 29, 2019 11:53
@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Mar 31, 2019
@wyardley wyardley changed the title Update the ssl_ciphers parameter to support the OpenSSL style Update the ssl_ciphers parameter to support the OpenSSL style Apr 1, 2019
@wyardley wyardley requested a review from dhoppe July 30, 2019 14:16
@wyardley wyardley requested a review from ekohl December 2, 2019 18:17
@bastelfreak bastelfreak removed the enhancement New feature or request label Dec 2, 2019
@wyardley wyardley merged commit 037bbc4 into voxpupuli:master Dec 2, 2019
@jamgregory jamgregory deleted the updated-ssl-cipher-support branch August 24, 2020 15:35
cegeka-jenkins pushed a commit to cegeka/puppet-rabbitmq that referenced this pull request Mar 26, 2021
…upport

Update the ssl_ciphers parameter to support the OpenSSL style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants