-
Notifications
You must be signed in to change notification settings - Fork 85
Fixes #26942: Add new settings to handle certificate trust #6395
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
Fixes #26942: Add new settings to handle certificate trust #6395
Conversation
webapp/sources/rudder/rudder-web/src/main/resources/configuration.properties.sample
Outdated
Show resolved
Hide resolved
|
Looks good to me |
|
After finding the proper option in curl, let's change how It must be a semicolon separated list of hash (not comma separated). It must be appended to the existing key
|
|
POLICY_SERVER_CERT_NAME_VALIDATION cannot be implemented as documented, we should replace it with : POLICY_SERVER_SECURE_VALIDATION : false/empty by default to match current state (--insecure is passed to curl) |
da181bb to
a3cecdd
Compare
|
PR updated with a new commit |
...-core/src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala
Outdated
Show resolved
Hide resolved
|
This PR is not mergeable to upper versions. |
| # They only set system properties that can be then used for the management, but | ||
| # these parameters don't do anything more. |
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.
it does something now!
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.
so remove these lines ? What it does now ?
| # | ||
| # Value for POLICY_SERVER_CERT_CA, ie the path to the file with the CA cert that should be used | ||
| # for server certificate validation (the validation is not handled by Rudder). | ||
| # Let empty for not restricting the list of possible CA to use. |
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 is unclear
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.
what would make it clearer ?
|
|
||
| # | ||
| # Value for POLICY_SERVER_SECURE_VALIDATION, ie should the server certificate | ||
| # be checked. Default false or empty (ie `--insecure` passed to curl) |
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 is confusing, and might make believe there is no validation when it is false
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.
so what would be not ?
|
We need a comprehensive documentation of the impact of these changes. |
|
PR updated with a new commit |
1 similar comment
|
PR updated with a new commit |
|
OK, squash merging this PR |
3b834e8 to
9f054f9
Compare
https://issues.rudder.io/issues/26942
Add three new system variables whose value is taken from rudder properties file.