I am starting ELK with enabled xpack.security, and as I know elasticsearch shoud display passwords, enrollment token for kibana and other nodes and sha fingerprint. But there is no such information in logs. I am sure of this, 'cause it must be shown in special frame. And even if I try to create token manually I got an error "Elasticsearch node HTTP layer SSL configuration is not configured with a keystore"
There is my docker-compose.yml
version: "2.2"
services:
elasticsearch:
image: elasticsearch:${ELK_VERSION:-8.4.2}
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.enabled=true
- xpack.security.enrollment.enabled=true
volumes:
- es_data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
networks:
- elastic
kibana:
image: kibana:${ELK_VERSION:-8.4.2}
ports:
- "5601:5601"
depends_on:
- elasticsearch
networks:
- elastic
logstash:
image: logstash:${ELK_VERSION:-8.4.2}
ports:
- "5959:5959"
depends_on:
- elasticsearch
networks:
- elastic
volumes:
- ./logstash/config:/usr/share/logstash/config:ro
command: logstash -f /usr/share/logstash/config/pipeline.conf
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
volumes:
es_data:
driver: local
networks:
elastic:
name: elastic
driver: bridge