Skip to content
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

Add RPC HTTP options to specify custom truststore and it's password #7978

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pullurib
Copy link
Contributor

@pullurib pullurib commented Dec 3, 2024

PR description

  • Introduce a new option to specify the truststore for the JSON-RPC HTTP client.
  • Support passing a password file for the truststore through a new option to avoid exposing the password in logs or the CLI.
  • Ensure the client certificates are validated successfully using the provided truststore - added test cases
  • Added testcase to verify option use

Fixed Issue(s)

#7932

CHANGELOG.md Outdated Show resolved Hide resolved
throw new CommandLine.ParameterException(
commandLine,
"Known-clients file must be specified or CA clients must be enabled when TLS client authentication is enabled for JSON-RPC HTTP endpoint");
"Known-clients file or Truststore file must be specified or CA clients must be enabled when TLS client authentication is enabled for JSON-RPC HTTP endpoint");
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if both are specified? should it be one or the other?

Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants