the --ca-dn option while using cert seems to only be applicable with --self-signed option, for example
./elasticsearch-certutil cert --self-signed --ca-dn xyz --pem --out /usr/share/elasticsearch/bin/test/out5.zip
But in this case when i check the generated cert content for example with the command
openssl x509 -in instance.crt -text -noout
Both issuer CN and subject CN is set as instance . Can you please show me with an example what it is the use case of --ca-dn when using cert command and which part of the certificated is effected by the parameter?