我是在centos7.6上使用rpm包安装的elasticsearch 8.2.2.0,默认使用的是https访问,在部署logstash时要求提供es的证书及密码。
请问怎么找到http.p12的密码。
logstash配置文件中:logstash.yml
#the path to a password-protected keystore in p12 or jks format, along with credentials.
#http.p12 是我从es服务器上拷贝过来的。
api.ssl.enabled: true
api.ssl.keystore.path: /etc/logstash/certs/http.p12
api.ssl.keystore.password: "need.a.passwd"
如果无法找回密码,请问如何生成这3个证书文件?
[root@elasticsearch]# ls -lh /etc/elasticsearch/certs/
http_ca.crt
http.p12
transport.p12