NETWAYS / NETWAYS/ansible-collection-elasticstack

[Feature]: Generate the Kibana browser (server.ssl) certificate from the stack CA by default

Open
#503 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the feature request

When kibana_tls: true, the role points server.ssl.certificate/key at
cert.pem/key.pem, but never generates them, so browser TLS only works if the
user brings their own certificate. Meanwhile the role generates
<hostname>-kibana.p12 (stack-CA signed) and copies it to /etc/kibana/certs/,
but nothing uses it.

Wanted: generate the browser certificate from the stack CA by default (so
kibana_tls works out of the box, like every other endpoint in the collection),
while keeping the option to bring your own via kibana_tls_cert/kibana_tls_key.

Scope: only the Kibana server/browser certificate (server.ssl). The
Kibana ↔ Elasticsearch side is separate (#486, 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 by tracing the role logic behind kibana_tls and the existing -kibana.p12 copy to /etc/kibana/certs/. Verify the server.ssl certificate/key paths and the kibana_tls_cert/kibana_tls_key override path; done means default browser TLS uses a stack-CA certificate while bring-your-own certificates and the separate Elasticsearch connection scope remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, elasticsearch
Domain
devops, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.