es 集群并设置密码
作者:互联网
1. 生成证书
bin/elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass ""
2. elastic-certificates.p12 复制到其他节点
3. 修改每一个节点配置并启动
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: /www/install_zip/elasticsearch6.8.5/config/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: /www/install_zip/elasticsearch6.8.5/config/elastic-certificates.p12
4. bin/elasticsearch-setup-passwords interactive 设置密码
标签:elastic,ssl,密码,p12,集群,transport,certificates,config,es 来源: https://www.cnblogs.com/MXubin/p/16576999.html