since I have setup searchguard for my elastic cluster already I would like to setup in production and I was wondering:
Can I use elasticsearch keystore where I saved my passphrases for private keys for search guard too? If not where can I store the passphrases for private key files in search guard?
Ok. but where to I put the password for the keystore to? In the config? I was expecting that I can add the passphrases to the keystore too like I can do using elastic-keystore (Configure TLS | Elasticsearch Guide [8.11] | Elastic)
and add the passphrase for the private key into the keystore. Using this I do not need to provide in clear text in my config files. So I was hoping to reuse it for searchguard (since al the passwords are already there in my already existing elastic cluster) or to use something similar provided by search guard.
Right now I have the passphrases for the cluster certificates inside the elasticsearch.yml, which I do not like
Maybe it is worth to think about if search guard could use already existing elasticearch keystore. It would be much easier for people who are implementing search guard into an existing or productive elasticsearch cluster.