-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #8786 - add configuration for KeyStoreScanner to not resolve aliases #8787
Issue #8786 - add configuration for KeyStoreScanner to not resolve aliases #8787
Conversation
…iases Signed-off-by: Lachlan Roberts <[email protected]>
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.
@lachlan-roberts why is this necessary? See also comment on the issue.
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.
"KeyStore" has the capital "S", so in the test class this should respected in variable names and pretty much everywhere.
Also, I won't mind to have the jetty-ssl-context-reload.xml
modified to support this additional property, and Jetty module ssl-reload
as well.
Also, please update the documentation module-ssl-reload.adoc
with a small paragraph after the module properties that explains with an example the difference between the 2 cases.
jetty-util/src/main/java/org/eclipse/jetty/util/ssl/KeyStoreScanner.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <[email protected]>
Signed-off-by: Lachlan Roberts <[email protected]>
...tation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc
Outdated
Show resolved
Hide resolved
tests/test-integration/src/test/java/org/eclipse/jetty/test/KeyStoreScannerTest.java
Show resolved
Hide resolved
tests/test-integration/src/test/java/org/eclipse/jetty/test/KeyStoreScannerTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <[email protected]>
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.
LGTM.
If you want to fix all keystore occurrences with keyStore would be great, given that you changed 80% of them but not all.
…nges + Removed changes from #8786 and #8787 + More test cases Signed-off-by: Joakim Erdfelt <[email protected]>
…nges (#9014) * Issue #8973 - Rework KeyStoreScanner handling for symlink related changes + Removed changes from #8786 and #8787 + More test cases + revert jetty.sslContext.reload.followLinks boolean + Scanner should follow its own linkOptions setting + remove bad documentation in module-ssl-reload.adoc Signed-off-by: Joakim Erdfelt <[email protected]> Signed-off-by: Lachlan Roberts <[email protected]> Co-authored-by: Lachlan Roberts <[email protected]>
Issue #8786
Allow the
KeyStoreScanner
to monitor the symlink file itself instead of the target of the symlink.