Всем привет.
Не получается настроить авторизацию в Kibana для Elasticsearch кластера состоящих из 3 мастер нод. Пароли заводил с помощью утилиты elasticsearch-setup-passwords auto
Хотя у меня получалось настраивать страницу авторизации для elasticsearch состоящей из одной ноды. Что я делаю не так?
конфиг elasticsearch.yml
cluster.name: elastic-cluster
node.name: Node-1
node.data: true
node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: server1
http.port: 9200
discovery.seed_hosts: ["server1", "server2", "server3"]
cluster.initial_master_nodes: ["server1", "server2", "server3"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
kibana.yml
server.port: 5601
server.host: "kibana"
#server.maxPayloadBytes: 3048576
xpack.reporting.csv.maxSizeBytes: 2048576000
xpack.reporting.queue.timeout: 2920000
xpack.reporting.kibanaServer.protocol: http
xpack.reporting.kibanaServer.hostname: kibana1
xpack.security.enabled: true
#xpack.security.encryptionKey: tTsjKOS96toodtATD0Dp7XOmjAqtcCXT
server.name: "elastic-cluster"
elasticsearch.hosts: ["http://server1:9200", "http://server2:9200", "http://server3:9200"]
logging.verbose: true
# Set the interval in milliseconds to sample system and process performance
# metrics. Minimum is 100ms. Defaults to 5000.
#ops.interval: 5000
# Specifies locale to be used for all localizable strings, dates and number formats.
# Supported languages are the following: English - en , by default , Chinese - zh-CN .
#i18n.locale: "en"
#elasticsearch.username: "kibana"
elasticsearch.password: "password"