Skip to content

Commit 9cf7986

Browse files
committed
Incoprorating review comment
1 parent 94badb9 commit 9cf7986

File tree

1 file changed

+3
-3
lines changed
  • content/en/docs/tasks/security/cert-management/custom-ca-k8s

1 file changed

+3
-3
lines changed

content/en/docs/tasks/security/cert-management/custom-ca-k8s/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ To verify that they have been signed by the Kubernetes CA, you need to first ext
6464

6565
The proxy_secret json file contains the CA root certificate for mTLS in the `trustedCA` field. Note that this certificate is base64 encoded.
6666

67-
2. The certificate used by the Kubernetes CA (specifically the `kubernetes.io/legacy-unknown` signer) is loaded onto the secret associated with every service account in the bookinfo namespace. k get secret/$secret -n istio-system -o json | jq '.data."ca.crt"' | sed 's/\"//g' | base64 -d
67+
1. The certificate used by the Kubernetes CA (specifically the `kubernetes.io/legacy-unknown` signer) is loaded onto the secret associated with every service account in the bookinfo namespace.
6868

6969
{{< text bash >}}
7070
$ secret="$(kubectl get secrets -n istio-system -o json | jq '.items[].metadata.name' | grep "account-token" | head -1 | sed 's/\"//g')"
7171
$ kubectl get secret/"$secret" -n istio-system -o json | jq '.data."ca.crt"' | sed 's/\"//g' | base64 -d
7272
{{< /text >}}
7373

7474

75-
3. Compare the certs obtained from step 1 and step 2. These two should be the same.
75+
1. Compare the certs obtained from step 1 and step 2. These two should be the same.
7676

77-
4. (Optional) Follow the rest of the steps in the [bookinfo example](/docs/examples/bookinfo/) to ensure that communication between services is working as expected.
77+
1. (Optional) Follow the rest of the steps in the [bookinfo example](/docs/examples/bookinfo/) to ensure that communication between services is working as expected.
7878

7979
### Cleanup Part 1
8080

0 commit comments

Comments
 (0)