-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
[nrpe/ssl] manage ssl protocols even if ssl authentication is unused #60
base: master
Are you sure you want to change the base?
[nrpe/ssl] manage ssl protocols even if ssl authentication is unused #60
Conversation
80279f6
to
574e241
Compare
Hello @smortex / @bastelfreak / @alexjfisher I submit this patch to allow nagios ssl tuning even if we don't want to use ssl authentication. Regards |
Hello Do I need to fix something ? Regards |
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.
Some minor comments. I am not a user of this module so take this with a grain of salt if it does not make sense in this context 😉
manifests/params.pp
Outdated
'DHE-RSA-AES256-SHA256', | ||
'DHE-RSA-AES256-SHA256' |
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.
This does not look right. I would expect CI to catch this (we want trailing comas)… weird… can you revert it?
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 will fix this.
group => $nrpe::nrpe_group, | ||
mode => '0640', | ||
content => $nrpe::ssl_privatekey_file_content, | ||
if $nrpe::ssl_cert_file_content { |
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.
The condition being on $nrpe::ssl_cert_file_content only looks odd. Regarding TLS in general, I would expect that either CA+Cert+Key are provided or none of them, and anything else is invalid and raise an error. Some systems might have an optional CA / CRL. Here the certificate without a key looks odd.
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 simply move if condition check from parent file to this one.
… unused enable ADH to address issue with openssl-1.1 and default module SSL cipher suite
574e241
to
0a433be
Compare
Hello, Is there anything against this contrib ? Regards |
Pull Request (PR) description
I want to be able to configure ssl protocol settings even if I don't use ssl cert authentication.
SSL directive can be included all time even if daemon is started with no-ssl flag.
This Pull Request (PR) fixes the following issues