-
Notifications
You must be signed in to change notification settings - Fork 88
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
Import all certificates from propagated bundles into Keycloak's truststore #560
Conversation
/test v4-che-operator-update |
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 about the Che server ? Don't we add certificates in the java truststore in the Che Java deployment as well ? Does it need the same fix ?
// - absolute path to ca-bundle file | ||
// - absolute path to java keystore | ||
// - java keystore password | ||
func getImportCABundleScript() string { |
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.
How do you manage the case where there are duplicate certificates (I assume we should be robust and ignore this error) ?
What about other errors when importing a certificate, Do we expect them to fail the start of the server ?
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.
How do you manage the case where there are duplicate certificates (I assume we should be robust and ignore this error) ?
When adding a certificate into trust store we pass unique alias for it. So if user provides identical certificates - both will be added to trust store without any error.
What about other errors when importing a certificate, Do we expect them to fail the start of the server ?
Invalid certificates will not be imported, Keycloak and Che server will be started without invalid certificates
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.
Thanks for the explanation.
@davidfestal already there: eclipse-che/che#18504 |
Great ! Thanks ! |
@davidfestal do you have any other remarks? |
… store Signed-off-by: Mykola Morhun <[email protected]>
New changes are detected. LGTM label has been removed. |
Signed-off-by: Mykola Morhun [email protected]
What does this PR do?
Makes it possible to import several CA certificates from a single file into Keycloak's java trust store.
What issues does this PR fix or reference?
eclipse-che/che#18339
How to test this PR?