You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't Use PW in ENV vars and default SSL on (elastic#39)
* Don't use passwords in ENV vars
* upgrade docker-compose file version
* upgrade elasticstack TAG
* use secrets instead of PW in ENV vars
* Make it easy to use secrets
* Don't teach people to use passwords in ENV vars
* just as easy to use a docker secret as it is to use a bind mounted volume
* adding setup.yml to create
1. passwords
2. keystores
3. certs
adding health checks
update the readme
turn off ssl for kibana endbpoint to avoid confusion for new users
* .env password is needed to seed the whole process, remove old docker image -platinum
* remove https from kibana, makes stack a bit easier to get started
* remove zip file and allow setp.yml to work with windows
* if env ELASTIC_PASSWORD not provided by user generate a pw.
Also updated to echo the pw for the user when the script finishes.
* undo changes to make file as they aren't needed anymore
update docs on readme for how to use and get the elastic password
* Make the makefile clean up more things.
* remove keystores
* do proper docker-compose down
* remove volumes and networks
make it fresh
* updated readme with more windows instructions re env vars
* use openssl to generate password
* Fix bug that causes logstash and kibana setup to get stuck.
Possible fixes: Use curl's `-u` flag for user:pass, or use hex instead
of base64 for `openssl rand`. I chose `curl -u`
The bug is that base64 includes `/`, so the `openssl rand -base64 16`
password could contain a `/` and make curl think that the username is
really the hostname:
```
curl 'https://elastic:nfAvKVigT7Bd7R60/o+1OQ==@elasticsearch:9200/'
curl: (6) Could not resolve host: elastic; Unknown error
```
The bug manifests as setup_logstash and setup_kibana getting stuck
waiting for Elasticsearch to be online, but never succeeds because the
curl invocation is wonky.
* force recreation of es keystore when running setup
* update readme with ways to set env vars in powershell
* more notes for windows users regarding path structure
0 commit comments