redpanda-data / redpanda-data/connect

Add mTLS to http_server input and output

Open
#2,317 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement inputs needs investigation outputs ux
Dominant language
Go
Stars
8.8k
Forks
969
Avg merge
1d 13h
Merged PRs (30d)
64

Description

Currently, the http_server input does not support mutual TLS.

The underlying HTTP server Golang library does support this natively, so please add support for adding a client Certificate Authorities file.

A good suggestion - thanks @mihaitodor ! - is to add schema support consistent with a TLS object in the kafka input and socket input, and deprecating the top-level cert_file and key_file fields.

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 with the http_server input and compare its configuration with the TLS objects documented for the kafka and socket inputs. Confirm how the underlying Go HTTP server accepts a client Certificate Authorities file, then verify that the new schema supports mTLS and that the existing top-level cert_file and key_file fields are deprecated.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.