-
Notifications
You must be signed in to change notification settings - Fork 296
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
[FEATURE] Support additional params in SecureTransportSettingsProvider to enable building of SslContext outside of security plugin #5011
Comments
[Triage] Thank you for filing this issue @rishabhmaurya . Can you elaborate on the parameters you would like to add and configure in |
@cwperks I will raise a PR for it, thank you. I will be adding following parameters to interface SecureTransportParameters {
boolean dualModeEnabled();
KeyManagerFactory keyManagerFactory();
String sslProvider();
String clientAuth();
Iterable<String> protocols();
Iterable<String> cipherSuites();
TrustManagerFactory trustManagerFactory();
} |
One concern with using this On the other hand hot swapping with Considering the above I think providing an |
@finnegancarroll can we set |
If i understand it right - for hot reload, we need to see how can we 1) build the |
I think we can take this route but To keep the benefits of
|
@finnegancarroll I like the |
Is your feature request related to a problem?
The netty's
io.netty.handler.ssl.SslContext
is needed by Flight server being introduced in opensearch-project/OpenSearch#16962. Today, it cannot be built outside of security plugin asSecureTransportSettingsProvider
doesn't expose it.What solution would you like?
Provide a way for consumers of
SecureTransportSettingsProvider
to buildSslContext
.Since its a netty dependency which we don't want to add to server module thus we cannot build it in security plugin and expose it using
SecureTransportSettingsProvider
. Instead, expose all parameters needed to buildSslContext
to its consumer (plugins & modules) to build it directly.What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: