Skip to content

[FEATURE] Provide SSL configuration for auxiliary transports #5104

@finnegancarroll

Description

@finnegancarroll

Is your feature request related to a problem?
Recently added to core, auxiliary transports are client/server transports which run in parallel to the existing rest api. To implement TLS for these transports they need access to a SecureTransportSettingsProvider as provided by the security plugin.

What solution would you like?
I would propose the security plugin provide a SecureAuxTransportSettingsProvider to be consumed by NetworkPlugins which implement getAuxTransports() and configured with settings distinct from its http counterpart (plugins.security.ssl.aux.pemkey_filepath, ...).

What alternatives have you considered?
Have AuxTransports consume the SecureHttpTransportSettingsProvider. I think it makes sense to create an entirely new SettingsProvider because:

  • Users may want to have separate configurations for their rest and aux client/server transports
  • Future AuxTransports may not be http based
  • SecureHttpTransportSettingsProvider is implicitly a rest based implementation as HttpServerTransport contains some rest specific objects.
    *This could probably be solved with a small refactor?

Additional context
opensearch-project/OpenSearch#16905
opensearch-project/OpenSearch#16787

Metadata

Metadata

Labels

enhancementNew feature or requesttriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

Type

No type

Projects

Status

Done

Status

Done/Won't Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions