Fixed command to create ca certificate in tls-auth example
This commit is contained in:
parent
5c016bee87
commit
4598a00812
1 changed files with 3 additions and 2 deletions
|
@ -6,6 +6,7 @@ It is possible to enable Client Certificate Authentication using additional anno
|
|||
1. Create a file named `ca.crt` containing the trusted certificate authority chain (all ca certificates in PEM format) to verify client certificates.
|
||||
|
||||
2. Create a secret from this file:
|
||||
`kubectl create secret generic auth-tls-chain --from-file=ca.crt --namespace=default`
|
||||
`kubectl create secret generic auth-tls-chain --from-file=ca.crt=ca.crt --namespace=default`
|
||||
|
||||
3. Add the annotations as provided in the [ingress.yaml](ingress.yaml) example to your ingress object.
|
||||
|
||||
3. Add the annotations as provided in the [ingress.yaml](ingress.yaml) example to your ingress object.
|
Loading…
Reference in a new issue