-
Notifications
You must be signed in to change notification settings - Fork 87
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
base: master
Are you sure you want to change the base?
Conversation
crowbar_framework/app/views/barclamp/horizon/_edit_attributes.html.haml
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,9 @@ | |||
def upgrade(template_attrs, template_deployment, attrs, deployment) | |||
attrs["apache"]["ssl_protocol"] = template_attrs["apache"]["ssl_protocol"] |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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.