我已经将我的IngressGateway模式设置为相互,并提供了我的SSL证书、私钥以及可信中间颁发者和根的列表作为CA证书。
我想知道Istio实际上是如何验证客户端证书的身份的,它是否在网关上构建了链?
发布于 2020-10-29 23:20:47
可以,根据istio documentation,您可以验证密钥是否创建成功,然后推送到网关:
istio-system命名空间中成功创建了密码:kubectl -n istio-system get secrets
httpbin-credential和helloworld-credential应显示在秘密列表中。
jsonpath='{.items.metadata.name}')" -n istio-system "$(kubectl get pod -l istio=ingressgateway \ -n istio-system -o kubectl
日志应显示已添加httpbin-credential密码。如果使用的是mutual TLS,则还应显示httpbin-credential-cacert密钥。如果使用相互TLS,日志应显示密钥/证书已发送到入口网关,网关代理收到了包含httpbin-credential-cacert资源名称的SDS请求,并且入口网关获得了根证书。
该示例基于此guide。
https://stackoverflow.com/questions/64581844
复制相似问题