Skip to content

Commit

Permalink
The command to copy the decoded certificate to the server.crt (#9448)
Browse files Browse the repository at this point in the history
* The command to copy the decoded certificate to the server.crt

* -D to --decode
  • Loading branch information
EmilyNamugaanyi authored and k8s-ci-robot committed Jul 18, 2018
1 parent 2c50177 commit fd37837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/tasks/tls/managing-tls-in-a-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd37837

Please sign in to comment.