fix typo: oppenssl -> openssl (#2913)

This commit is contained in:
SataQiu 2018-11-22 22:39:28 +08:00 committed by Frank Budinsky
parent e14ca3ecd4
commit b4712a55c3
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ root-cert.pem
paired with Envoy's cert in `cert-chain.pem`. `root-cert.pem` is the root cert to verify the peer's cert. paired with Envoy's cert in `cert-chain.pem`. `root-cert.pem` is the root cert to verify the peer's cert.
In this example, we only have one Citadel in a cluster, so all Envoys have the same `root-cert.pem`. In this example, we only have one Citadel in a cluster, so all Envoys have the same `root-cert.pem`.
Use the `oppenssl` tool to check if certificate is valid (current time should be in between `Not Before` and `Not After`) Use the `openssl` tool to check if certificate is valid (current time should be in between `Not Before` and `Not After`)
{{< text bash >}} {{< text bash >}}
$ kubectl exec $(kubectl get pod -l app=httpbin -o jsonpath={.items..metadata.name}) -c istio-proxy -- cat /etc/certs/cert-chain.pem | openssl x509 -text -noout | grep Validity -A 2 $ kubectl exec $(kubectl get pod -l app=httpbin -o jsonpath={.items..metadata.name}) -c istio-proxy -- cat /etc/certs/cert-chain.pem | openssl x509 -text -noout | grep Validity -A 2