Skip to content

Commit fcc9f31

Browse files
iwyz0antoineco
andcommitted
feat: Add Compose service name to Kibana's cert names
Allows the Fleet server to establish a trusted connection to Kibana when the Kibana server has TLS enabled and Fleet uses the Compose service name as host name. Co-authored-by: Antoine Cotten <[email protected]>
1 parent 2412f91 commit fcc9f31

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

extensions/fleet/fleet-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ services:
2828
FLEET_URL: https://fleet-server:8220
2929
FLEET_SERVER_CERT: /usr/share/elastic-agent/fleet-server.crt
3030
FLEET_SERVER_CERT_KEY: /usr/share/elastic-agent/fleet-server.key
31+
# Use the HTTPS scheme if the Kibana server has TLS enabled (disabled by default)
32+
#KIBANA_HOST: https://kibana:5601
3133
ELASTICSEARCH_HOST: https://elasticsearch:9200
3234
ELASTICSEARCH_CA: /usr/share/elastic-agent/ca.crt
3335
# Fleet plugin in Kibana

tls/instances.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ instances:
1717
- kibana.127.0.0.1.nip.io # Examples of resolvable domains.
1818
- kibana.127.0.0.1.sslip.io #
1919
- localhost
20+
- kibana # resolved by Fleet, if configured to use the Compose service name
2021
ip:
2122
- 127.0.0.1
2223
- ::1

0 commit comments

Comments
 (0)