Skip to content

Conversation

@jkakavas
Copy link
Contributor

Update the path where auto generated certificates are stored in the docker instructions

Update the path where auto generated certificates are stored in the docker instructions
@jkakavas jkakavas added backport-8.1 Automated backport with mergify backport-8.0 Automated backport with mergify backport-8.2 Automated backport with mergify labels Apr 10, 2022
Comment on lines 124 to 133
. 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 link
Contributor

@lockewritesdocs lockewritesdocs Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkakavas, did you mean to remove these ☝️ steps? I believe that users should still copy the generated password and enrollment token, and the command to locate the CA cert is useful. Let me know if this wasn't your intention, or if something was altered that necessitated this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, it was simply an over-jealous selection. I only meant to remove the ". Locate the CA cert.." step. This was only useful so that we could find the path in the container and then use it below in the docker cp command. Now, we know the path in the container so we can reference it directly in the docker cp below

@lockewritesdocs lockewritesdocs changed the title Create get-started-docker.asciidoc [DOCS] Update certificate path in Docker installation Apr 15, 2022
@lockewritesdocs lockewritesdocs self-assigned this Apr 15, 2022
@lockewritesdocs lockewritesdocs merged commit 60596d2 into main Apr 15, 2022
mergify bot pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)
mergify bot pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)
@lockewritesdocs lockewritesdocs deleted the jkakavas-patch-1 branch April 15, 2022 16:23
mergify bot pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)
lockewritesdocs pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)

Co-authored-by: Ioannis Kakavas <ioannis@elastic.co>
lockewritesdocs pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)

Co-authored-by: Ioannis Kakavas <ioannis@elastic.co>
lockewritesdocs pushed a commit that referenced this pull request Apr 15, 2022
* 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 <adam.locke@elastic.co>
(cherry picked from commit 60596d2)

Co-authored-by: Ioannis Kakavas <ioannis@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.0 Automated backport with mergify backport-8.1 Automated backport with mergify backport-8.2 Automated backport with mergify v8.0.1 v8.1.3 v8.2.0 v8.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants