Skip to content

Create Kibana certificate directory unconditionally#99

Closed
Oddly wants to merge 1 commit intomainfrom
fix/kibana-cert-dir-v2
Closed

Create Kibana certificate directory unconditionally#99
Oddly wants to merge 1 commit intomainfrom
fix/kibana-cert-dir-v2

Conversation

@Oddly
Copy link
Owner

@Oddly Oddly commented Mar 12, 2026

The /etc/kibana/certs directory is needed for both Kibana TLS and ES connection CA certificates. Previously it was only created inside the kibana_tls block, so deployments with elasticsearch_http_security enabled but kibana_tls disabled would fail because the directory didn't exist yet.

This moves directory creation before the kibana_tls conditional so it's always present when the external certificate block runs.

Replaces #98 (rebased on current main).

The /etc/kibana/certs directory is needed for both Kibana TLS and ES
connection CA certificates. Previously it was only created inside the
kibana_tls block, so deployments with ES TLS but without Kibana TLS
would fail. Move directory creation before the conditional.
@Oddly
Copy link
Owner Author

Oddly commented Mar 12, 2026

Not needed — the directory is already created unconditionally at line 127 of kibana-security.yml, outside the kibana_tls block.

@Oddly Oddly closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant