Elasticsearch-certutil parameters

Hello,

I am using Elasticsearch on a self managed cluster and I had to use the "elasticsearch-certutil" tool to manage my cluster certificates.
The help menu from the tool only lists the following options

Simplifies certificate creation for use with the Elastic Stack

Commands
--------
csr - generate certificate signing requests
cert - generate X.509 certificates and keys
ca - generate a new local certificate authority
http - generate a new certificate (or certificate request) for the Elasticsearch HTTP interface

Non-option arguments:
command

Option             Description
------             -----------
-E <KeyValuePair>  Configure a setting
-h, --help         Show help
-s, --silent       Show minimal output
-v, --verbose      Show verbose output

However the official documentation mentions the following usage of this command:


./bin/elasticsearch-certutil cert \
  --name fleet-server \
  --ca-cert /path/to/ca/ca.crt \
  --ca-key /path/to/ca/ca.key \
  --dns your.host.name.here \
  --ip 192.0.2.1 \
  --pem

Why are --name, --ca-cert, --ca-key, --dns, --ip, --pem options not listed in the help menu?
Where can I get the exhaustive list of those options?
Any help appreciated, even if it is a simple link to a source file.

Actually I just had to type:

elasticsearch-certutil cert --help

...

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.