diff --git a/docs/en/getting-started/docker/create-certs.yml b/docs/en/getting-started/docker/create-certs.yml index 36c1573aa..1f8432930 100644 --- a/docs/en/getting-started/docker/create-certs.yml +++ b/docs/en/getting-started/docker/create-certs.yml @@ -8,7 +8,7 @@ services: bash -c ' yum install -y -q -e 0 unzip; if [[ ! -f /certs/bundle.zip ]]; then - bin/elasticsearch-certutil cert --silent --pem --in config/certificates/instances.yml -out /certs/bundle.zip; + bin/elasticsearch-certutil cert --silent --pem --keep-ca-key --in config/certificates/instances.yml -out /certs/bundle.zip; unzip /certs/bundle.zip -d /certs; fi; chown -R 1000:0 /certs