From 82b6f4c47eec6f6a667d56228938c9095426023c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=BE=A4=E5=BC=BA?= Date: Thu, 7 Nov 2019 22:42:51 +0800 Subject: [PATCH] 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 --- content/zh/faq/security/check-policy.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/zh/faq/security/check-policy.md b/content/zh/faq/security/check-policy.md index cdf1b062ca..9f03c2852c 100644 --- a/content/zh/faq/security/check-policy.md +++ b/content/zh/faq/security/check-policy.md @@ -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)以获取更多细节。