From 78503761e887197fa8a81890c6745007034b25d7 Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Sun, 10 Apr 2022 15:37:23 +0300 Subject: [PATCH 1/2] Create get-started-docker.asciidoc Update the path where auto generated certificates are stored in the docker instructions --- .../getting-started/get-started-docker.asciidoc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/docs/en/getting-started/get-started-docker.asciidoc b/docs/en/getting-started/get-started-docker.asciidoc index 8ec63dea6..e066e1ac9 100644 --- a/docs/en/getting-started/get-started-docker.asciidoc +++ b/docs/en/getting-started/get-started-docker.asciidoc @@ -121,26 +121,13 @@ endif::[] TIP: You might need to scroll back a bit in the terminal to view the password 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 From 89377f991dbbe1f351295d9d984c2c5e804edaad Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Fri, 15 Apr 2022 10:38:16 -0400 Subject: [PATCH 2/2] Add step for copying password and enrollment token --- docs/en/getting-started/get-started-docker.asciidoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/getting-started/get-started-docker.asciidoc b/docs/en/getting-started/get-started-docker.asciidoc index e066e1ac9..43ad158b5 100644 --- a/docs/en/getting-started/get-started-docker.asciidoc +++ b/docs/en/getting-started/get-started-docker.asciidoc @@ -121,6 +121,9 @@ endif::[] TIP: You might need to scroll back a bit in the terminal to view the password 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. + . Copy the `http_ca.crt` security certificate from your Docker container to your local machine. +