opensearch-project / opensearch-project/data-prepper
mTLS Support for HTTP Source Plugin
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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