opensearch-project / opensearch-project/data-prepper

mTLS Support for HTTP Source Plugin

Open
#1,612 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Is your feature request related to a problem? Please describe.
Currently the HTTP source plugin does not support mTLS verification. This is a feature seen requested in the forums.

Describe the solution you'd like
The HTTP source plugin supports mTLS verification for added security.

The HTTP source should be configured with tlsCustomizer that will configure the SslContextBuilder with TrustManager.

 sb.tlsCustomizer(sslCtxBuilder -> {
       sslCtxBuilder.trustManager(loadTrustManager(...))
             .clientAuth(ClientAuth.REQUIRE);
});

Additional context
This issue stemmed from a forum post, https://forum.opensearch.org/t/data-prepper-mtls-with-the-http-source-plugin/10362.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the HTTP source plugin's TLS configuration and trace how tlsCustomizer and SslContextBuilder are used. Review the linked forum context, then verify that configuring a TrustManager and ClientAuth.REQUIRE enables mTLS verification for the HTTP source.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.