NETWAYS / NETWAYS/ansible-collection-elasticstack

[Umbrella]: Collection-wide opt-in mutual TLS (client-certificate auth to Elasticsearch)

Open
#536 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:beats component:elasticsearch component:kibana component:logstash
Dominant language
Jinja
Stars
14
Forks
11
Avg merge
1d 47m
Merged PRs (30d)
6

Description

Today only #486 (Kibana→ES) covers mutual TLS. mTLS needs both halves: the server must request a client certificate (xpack.security.http.ssl.client_authentication — by default ES does not request one, security settings) AND the client must present one. Currently Logstash even ships a keystore to ES, but since ES requests no client cert it is ignored — effectively one-way TLS + password.

Add opt-in mTLS on each client→ES channel, and separate the certificate concerns in the output configs: cacert / ssl_certificate_authorities (the client verifying the server — needed for any TLS) stays on the TLS axis; the client certificate (keystore / ssl.certificate+ssl.key — mTLS-only) becomes the opt-in.

Children (one PR each):

  • #537 — ES side: xpack.security.http.ssl.client_authentication enabler (server half; requires HTTP TLS)
  • #538 — Beats → ES: present a client certificate (opt-in)
  • #539 — Logstash → ES: keystore as an opt-in mTLS flag, split from cacert/auth
  • #486 — Kibana → ES (existing, 1.2.0)

Opt-in, default off (non-breaking). Depends on the TLS axis (*_tls, #526); the client-side children depend on the ES-side enabler. The Logstash child restructures the same ES-output block as #529 → coordinate. Milestone 2.0.0 for the block-touching parts; #486 stays 1.2.0.

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 child issues #537, #538, and #539, then review the TLS-axis dependency #526 and the Logstash coordination point in #529. Treat #486 as the existing Kibana implementation. Done means the server and each client channel support opt-in mTLS with defaults off, while preserving the stated separation between server verification and client certificates.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, elasticsearch
Domain
devops, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.