Verifying the TLS configuration

To verify the TLS configuration, follow these steps:

  1. Run the istioctl command:
$ export RATING_POD=$(kubectl -n istio-lab get pods -l app=ratings -o jsonpath='{.items[0].metadata.name}') ; echo $RATING_PODratings-v1-79b6d99979-k2j7t$ istioctl authn tls-check $RATING_POD.istio-lab ratings.istio-lab.svc.cluster.localHOST:PORT                                    STATUS     SERVER  ---    ratings.istio-lab.svc.cluster.local:9080     OK         mTLS    ---   --- CLIENT     AUTHN POLICY          DESTINATION RULE--- mTLS       default/istio-lab     ratings/istio-lab

Notice that the server and client communication between microservices is mTLS and that it is protected through strong identity—a standard that is progressing. You can find out more at https://spiffe.io/.

You can use istioctl authn tls-check ...

Get Mastering Service Mesh now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.