mirror of https://github.com/istio/istio.io.git
zh-translation:/content/zh/faq/security/check-policy.md (#5442)
* zh-translation:/content/zh/faq/security/check-policy.md * change Pods to Pod * change Pod to pod
This commit is contained in:
parent
cbcea241ad
commit
82b6f4c47e
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
title: How can I check whether mutual TLS is enabled for a service?
|
||||
title: 如何检查一个服务是否启动了双向 TLS?
|
||||
weight: 11
|
||||
---
|
||||
|
||||
The [`istioctl`](/docs/reference/commands/istioctl) command provides an option for this purpose. You can do:
|
||||
您可以通过 [`istioctl`](/zh/docs/reference/commands/istioctl) 提供的一个选项来进行确认,请执行以下命令:
|
||||
|
||||
{{< text bash >}}
|
||||
$ istioctl authn tls-check $CLIENT_POD httpbin.default.svc.cluster.local
|
||||
|
@ -11,6 +11,6 @@ HOST:PORT STATUS SERVER CLIENT AUTH
|
|||
httpbin.default.svc.cluster.local:8000 OK mTLS mTLS /default istio-system/default
|
||||
{{< /text >}}
|
||||
|
||||
Where `$CLIENT_POD` is the ID of one of the client service's pods.
|
||||
其中 `$CLIENT_POD` 是作为客户端服务运行的 pod 中的任意一个的 ID。
|
||||
|
||||
Refer to [Verify mutual TLS configuration](/docs/tasks/security/mutual-tls/#verify-mutual-tls-configuration) for more information.
|
||||
请参见[验证双向 TLS 配置](/zh/docs/tasks/security/mutual-tls/#verify-mutual-tls-configuration)以获取更多细节。
|
||||
|
|
Loading…
Reference in New Issue