Skip to content

Auto-reload TLS certs for druid endpoints#12933

Merged
FrankChen021 merged 8 commits intoapache:masterfrom
santosh-d3vpl3x:master
Aug 25, 2022
Merged

Auto-reload TLS certs for druid endpoints#12933
FrankChen021 merged 8 commits intoapache:masterfrom
santosh-d3vpl3x:master

Conversation

@santosh-d3vpl3x
Copy link
Copy Markdown
Contributor

@santosh-d3vpl3x santosh-d3vpl3x commented Aug 22, 2022

Fixes #12064.

Description

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.

@santosh-d3vpl3x santosh-d3vpl3x marked this pull request as ready for review August 22, 2022 18:57
@santosh-d3vpl3x
Copy link
Copy Markdown
Contributor Author

The failure is unrelated to the PR.

@santosh-d3vpl3x santosh-d3vpl3x marked this pull request as ready for review August 23, 2022 12:50
@santosh-d3vpl3x
Copy link
Copy Markdown
Contributor Author

@FrankChen021 would you be interested in reviewing this PR?


sslConnector.setPort(0);
server.setConnectors(new Connector[]{sslConnector});
KeyStoreScanner keyStoreScanner = new KeyStoreScanner(sslContextFactory);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wouldn't detect keystore changes if the keystore path was a soft link, would it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@a2l007 a2l007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@santosh-d3vpl3x Thank you for your contribution!

Comment thread docs/operations/tls-support.md Outdated
Comment thread docs/operations/tls-support.md Outdated
Co-authored-by: Frank Chen <frankchen@apache.org>
@FrankChen021
Copy link
Copy Markdown
Member

Thank you @santosh-d3vpl3x for your first contribution.

@gianm
Copy link
Copy Markdown
Contributor

gianm commented Aug 24, 2022

Going to close and reopen this to try to retrigger a Travis CI run. It's using an older version of .travis.yml that refers to a no-longer-existing it-tools project, & so can't build.

@gianm gianm closed this Aug 24, 2022
@gianm gianm reopened this Aug 24, 2022
@gianm
Copy link
Copy Markdown
Contributor

gianm commented Aug 24, 2022

@santosh-d3vpl3x Could you merge master into your branch, please? I think for Travis CI to run successfully the branch needs to pull in a .travis.yml update from #12368. Thank you.

@santosh-d3vpl3x
Copy link
Copy Markdown
Contributor Author

@santosh-d3vpl3x Could you merge master into your branch, please? I think for Travis CI to run successfully the branch needs to pull in a .travis.yml update from #12368. Thank you.

It looks stuck!

@gianm
Copy link
Copy Markdown
Contributor

gianm commented Aug 24, 2022

It looks stuck!

There's a queue sometimes, since we share one Travis CI account across all Apache projects. Looks like the job is running now!

@FrankChen021 FrankChen021 merged commit 31dc900 into apache:master Aug 25, 2022
@kfaraz kfaraz added this to the 25.0 milestone Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-reload tls certs for druid endpoints

6 participants