-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Enable TLS for Netty4GrpcServerTransport #17796
Enable TLS for Netty4GrpcServerTransport #17796
Conversation
❌ Gradle check result for 33a66b1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
server/src/main/java/org/opensearch/plugins/SecureAuxTransportSettingsProvider.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/plugins/SecureAuxTransportSettingsProvider.java
Outdated
Show resolved
Hide resolved
fafc5ab
to
137f5f1
Compare
❌ Gradle check result for 137f5f1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
137f5f1
to
937eb6a
Compare
❌ Gradle check result for 937eb6a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
...sport-grpc/src/test/java/org/opensearch/plugin/transport/grpc/ssl/SecureSettingsHelpers.java
Outdated
Show resolved
Hide resolved
...rt-grpc/src/main/java/org/opensearch/transport/grpc/ssl/SecureNetty4GrpcServerTransport.java
Outdated
Show resolved
Hide resolved
...rt-grpc/src/main/java/org/opensearch/transport/grpc/ssl/SecureNetty4GrpcServerTransport.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for 937eb6a: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
937eb6a
to
a07c01b
Compare
❕ Gradle check result for a07c01b: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
a07c01b
to
915f062
Compare
❕ Gradle check result for 915f062: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Auxiliary transport meta issue to capture some of the enhancements discussed here: |
- Adds SecureAuxTransportSettingsProvider to provide aux transports access to a javax SSLContext and cipher/client auth params for configuring TLS. - Implements SecureNetty4GrpcServerTransport to consume a SecureAuxTransportSettingsProvider for a TLS enabled gRPC transport. - Add aux transport type settings and port setttings for new secure transport. - Add logic to detect and register secure aux transports provided by plugins. - Integration tests for SecureNetty4GrpcServerTransport basic client cert authentication. Signed-off-by: Finn Carroll <[email protected]>
915f062
to
17eea00
Compare
@cwperks LGTY? thanks @finnegancarroll ! |
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.
Everything has been addressed. Thank you @finnegancarroll! This is a great forward looking feature.
Description
Introduces
SecureNetty4GrpcServerTransport
, a TLS enabled alternative toNetty4GrpcServerTransport
.Security settings for this transport are configurable under
OpenSearchSecureSettingsFactory
experimental API.Otherwise default JDK
SSLContext
is used with client authREQUIRED
.Please find ongoing work supporting auxiliary transports in security plugin here:
#17854
Integration tests:
Related Issues
Partially resolves #16905
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.