Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 989 Bytes

File metadata and controls

36 lines (23 loc) · 989 Bytes

Quick-EK-Stack with TLS Enabled

Set up a Elastic Kibana stack with TLS enabled in a few minutes. Base taken from elastic and this tutorial.

Steps to follow:

  1. Clone repository

  2. Generate certificates

    docker-compose -f create-certs.yml run --rm create_certs
  3. Bring up elastic and kibana

    docker-compose up -d
  4. Generate Elastic passwords'

    • Automatic
    docker exec es01 /bin/bash -c "bin/elasticsearch-setup-passwords auto --batch --url https://es01:9200"
    • Interactive
    sudo docker exec -it es01 /bin/bash -c "bin/elasticsearch-setup-passwords interactive --url https://es01:9200"
  5. Update new kibana_system password in docker-compose.yml and restart stack

Done!