Bin/elasticsearch-certutil ca command is not working

I install elasticsearch 7.3 using this command

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-amd64.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-amd64.deb.sha512
shasum -a 512 -c elasticsearch-7.3.2-amd64.deb.sha512 
sudo dpkg -i elasticsearch-7.3.2-amd64.deb

my server is ubuntu 18.04

I am trying to setup 3 nodes elasticsearch with some security so I am trying to setup
Encrypting communications in Elasticsearch

although when I follow the link I am getting error to the very first command

bin/elasticsearch-certutil ca

-bash: bin/elasticsearch-certutil: No such file or directory

also I am in my root directory.

Thanks.

The installation guide gives you information on how to install and at the end where are located the binaries. See https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html

Yes I followed that link only in order to install elasticsearch, but I didn't go through these commands:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

now what should I do ? should I reinstall the whole elasticsearch again by uninstalling them ?

/usr/share/elasticsearch/bin/elasticsearch-certutil ca

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