From 300f2fc77cea553b21d3524f63313f66833ac71a Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Fri, 4 Feb 2022 08:47:43 -0800 Subject: [PATCH] Update step tools to v0.18.1 --- docs/04-certificate-authority.md | 13 ++++++------- docs/13-certificate-renewal.md | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/04-certificate-authority.md b/docs/04-certificate-authority.md index 9dae315..141af37 100644 --- a/docs/04-certificate-authority.md +++ b/docs/04-certificate-authority.md @@ -17,8 +17,8 @@ Download the `step` client and `step-ca` server binaries, and the `jq` command: ``` { wget -q --show-progress --https-only --timestamping \ - "https://dl.step.sm/gh-release/certificates/gh-release-header/v0.18.0/step-ca_linux_0.18.0_amd64.tar.gz" \ - "https://dl.step.sm/gh-release/cli/gh-release-header/v0.18.0/step_linux_0.18.0_amd64.tar.gz" + "https://dl.step.sm/gh-release/certificates/gh-release-header/v0.18.1/step-ca_linux_0.18.1_amd64.tar.gz" \ + "https://dl.step.sm/gh-release/cli/gh-release-header/v0.18.1/step_linux_0.18.1_amd64.tar.gz" sudo apt update sudo apt install -y jq } @@ -28,10 +28,10 @@ Install the binaries: ``` { -tar -xvf step-ca_linux_0.18.0_amd64.tar.gz -sudo mv step-ca_0.18.0/bin/step-ca /usr/local/bin/ -tar -xvf step_linux_0.18.0_amd64.tar.gz -sudo mv step_0.18.0/bin/step /usr/local/bin/ +tar -xvf step-ca_linux_0.18.1_amd64.tar.gz +sudo mv step-ca_0.18.1/bin/step-ca /usr/local/bin/ +tar -xvf step_linux_0.18.1_amd64.tar.gz +sudo mv step_0.18.1/bin/step /usr/local/bin/ } ``` @@ -47,7 +47,6 @@ Create a CA configuration folder and generate passwords for the CA root key and { export STEPPATH=/etc/step-ca umask 077 -sudo mkdir -p $(step path)/db < /dev/urandom tr -dc A-Za-z0-9 | head -c40 | sudo tee $(step path)/password > /dev/null < /dev/urandom tr -dc A-Za-z0-9 | head -c40 > provisioner-password umask 002 diff --git a/docs/13-certificate-renewal.md b/docs/13-certificate-renewal.md index 2246621..e38f890 100644 --- a/docs/13-certificate-renewal.md +++ b/docs/13-certificate-renewal.md @@ -16,14 +16,14 @@ Download the `step` CLI binary: ``` wget -q --show-progress --https-only --timestamping \ - "https://dl.step.sm/gh-release/cli/gh-release-header/v0.18.0/step_linux_0.18.0_amd64.tar.gz" + "https://dl.step.sm/gh-release/cli/gh-release-header/v0.18.1/step_linux_0.18.1_amd64.tar.gz" ``` Install the binary: ``` -tar -xvf step_linux_0.18.0_amd64.tar.gz -sudo mv step_0.18.0/bin/step /usr/local/bin/ +tar -xvf step_linux_0.18.1_amd64.tar.gz +sudo mv step_0.18.1/bin/step /usr/local/bin/ ``` ## Bootstrap with the CA