From 4ae5e5c69e8a23a2e5ea61035992b51e9ccc93e2 Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Fri, 15 Apr 2022 19:23:23 +0300 Subject: [PATCH] [DOCS] Update certificate path in Docker installation (#2096) * Create get-started-docker.asciidoc Update the path where auto generated certificates are stored in the docker instructions * Add step for copying password and enrollment token Co-authored-by: Adam Locke (cherry picked from commit 60596d2d70e780da7ca3e2ef206edfba4fc38eef) --- docs/en/getting-started/get-started-docker.asciidoc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/en/getting-started/get-started-docker.asciidoc b/docs/en/getting-started/get-started-docker.asciidoc index 8ec63dea6..43ad158b5 100644 --- a/docs/en/getting-started/get-started-docker.asciidoc +++ b/docs/en/getting-started/get-started-docker.asciidoc @@ -124,23 +124,13 @@ and enrollment token. . Copy the generated password and enrollment token and save them in a secure location. These values are shown only when you start {es} for the first time. -. Locate the CA certificate in your container. This command returns the path -to the `http_ca.crt` certificate, which you'll use in the next step. -+ -[source,sh] ----- -docker exec -it es01 /bin/bash -c "find /usr/share/elasticsearch -name http_ca.crt" ----- - . Copy the `http_ca.crt` security certificate from your Docker container to your local machine. + [source,sh] ---- -docker cp es01:/usr/share/elasticsearch/config/tls_auto_config_/http_ca.crt . +docker cp es01:/usr/share/elasticsearch/config/certs/http_ca.crt . ---- -``:: The timestamp of when the auto-configuration process created -the security files directory in your Docker container. . Open a new terminal and verify that you can connect to your {es} cluster by making an authenticated call, using the `http_ca.crt` file that you