How can I generate root-ca.pem file for Elasticsearch ,Would be great if some help me
Hi,
To generate a root-ca.pem file for Elasticsearch, you can use the elasticsearch-certutil
tool that comes with Elasticsearch.
For more information, you can refer to the following documentation:
- Setting up your own certificate authority (CA)
- Generating a certificate for your Elasticsearch node
- Configuring Elasticsearch to use the generated certificates
Regards
Many thanks for the reply ,do you think is it a correct way to generate root-ca
bin/elasticsearch-certutil ca --ca-dn "CN=root-ca" --days 365 --pem --out /etc/elasticsearch/root-ca.pem
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.