elasticsearch-tls
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
elasticsearch-tls [2020/11/08 11:10] – baumi | elasticsearch-tls [2020/11/08 12:41] (current) – baumi | ||
---|---|---|---|
Line 222: | Line 222: | ||
$ docker-compose up -d && docker-compose logs -f | $ docker-compose up -d && docker-compose logs -f | ||
</ | </ | ||
+ | |||
+ | ===== Move username & password from Kibana Config ===== | ||
+ | |||
+ | - Create Keystore and populate with logon information< | ||
+ | $ docker exec -it elk-test-kibana bash | ||
+ | bash-4.2$ bin/ | ||
+ | Created Kibana keystore in / | ||
+ | bash-4.2$ bin/ | ||
+ | Enter value for elasticsearch.username: | ||
+ | bash-4.2$ bin/ | ||
+ | Enter value for elasticsearch.password: | ||
+ | </ | ||
+ | - Copy keystore to persistent storage< | ||
+ | $ docker cp elk-test-kibana:/ | ||
+ | </ | ||
+ | - Adjust docker-compose.yml for bind mount of keystore file< | ||
+ | services: | ||
+ | kibana: | ||
+ | volumes: | ||
+ | - ./ | ||
+ | </ | ||
+ | - Remove elasticsearch.username and elasticsearch.username from kibana.yml | ||
+ | - Restart kibana | ||
+ | |||
+ | |||
+ | |||
{{tag>kb elasticsearch}} | {{tag>kb elasticsearch}} | ||
elasticsearch-tls.1604830222.txt.gz · Last modified: 2020/11/08 11:10 by baumi