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

horizon: Add SSL protocol option. #2437

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

OttoHollmann
Copy link

Current setting in cookbook templates exclude only SSLv2 and SSLv3.
SSLProtocol all -SSLv2 -SSLv3
but in these days TLSv1.0 protocol is already deprecated, so it will be nice to have any option how to disable this old protocol.
We can add protocol option (this PR) and keep it up to user to select which protocol he wants, disable TLSv1.0 in default settings or both of them.

@@ -0,0 +1,9 @@
def upgrade(template_attrs, template_deployment, attrs, deployment)
attrs["apache"]["ssl_protocol"] = template_attrs["apache"]["ssl_protocol"]
Copy link
Contributor

Choose a reason for hiding this comment

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

please do this only if attrs["apache"]["ssl_protocol"] is not already defined (because of a backported earlier migration.

Copy link
Author

Choose a reason for hiding this comment

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

I'm not sure which is preferred way, if unless attrs.key? or if attr["..."].nil?, but the former looks better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants