'how to know whether service traffics in istio service mesh are encrypted or not

in this document, it says "If the client is inside the mesh, this traffic may be encrypted with Istio mutual TLS" https://istio.io/latest/docs/ops/configuration/traffic-management/tls-configuration/

there are Service A an B that are in service mesh.

i enter Service A, and then request Service B but i couldn't find the traffic was encrypted in this log.

$curl -v http://B.default.svc.cluster.local:8080/test
*   Trying 10.111.244.232:8080...
* Connected to B.default.svc.cluster.local (10.111.244.232) port 8080 (#0)
> GET /accounts/1 HTTP/1.1
> Host: B.default.svc.cluster.local:8080
> User-Agent: curl/7.74.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/json
< date: Fri, 11 Feb 2022 17:33:48 GMT
< x-envoy-upstream-service-time: 7
< server: envoy
< transfer-encoding: chunked
< 
* Connection #0 to host B.default.svc.cluster.local left intact

how to know whether service traffics in istio service mesh are encrypted or not?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source