From 01042229d8fcf2d3bc4810d72c7544649714cff0 Mon Sep 17 00:00:00 2001 From: Emily N Date: Tue, 10 Jul 2018 14:55:25 +1000 Subject: [PATCH 1/2] The command to copy the decoded certificate to the server.crt --- content/en/docs/tasks/tls/managing-tls-in-a-cluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md b/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md index 14522919972dc..4e0802d55bc2d 100644 --- a/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md +++ b/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md @@ -171,7 +171,7 @@ by running the following: ```console $ kubectl get csr my-svc.my-namespace -o jsonpath='{.status.certificate}' \ - | base64 -d > server.crt + | base64 -D > server.crt ``` Now you can use `server.crt` and `server-key.pem` as the keypair to start From 5fa7f6286aaa96ab04674855073dc9fb6b00de61 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Wed, 18 Jul 2018 15:50:51 -0700 Subject: [PATCH 2/2] -D to --decode --- content/en/docs/tasks/tls/managing-tls-in-a-cluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md b/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md index 4e0802d55bc2d..e65e341905254 100644 --- a/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md +++ b/content/en/docs/tasks/tls/managing-tls-in-a-cluster.md @@ -171,7 +171,7 @@ by running the following: ```console $ kubectl get csr my-svc.my-namespace -o jsonpath='{.status.certificate}' \ - | base64 -D > server.crt + | base64 --decode > server.crt ``` Now you can use `server.crt` and `server-key.pem` as the keypair to start