我是在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"
如何无法找回密码,请问如何生成这两个证书文件?
[root@elasticsearch]# ls -lh /etc/elasticsearch/certs/
http_ca.crt http.p12 transport.p12