Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Istio mTLS flow

Tags:

I am little confused about the mTLS flow of istio. In the bookinginfo example, I see that services are doing calls over http instead of https. If there is mTLS between services then service make http calls?

Can it be that HTTP from service goes to envoy proxy which converts it into https? But, then in envoy-proxy logs of server, I see http in logs.

Can any body please explain how this works?

Regards

like image 777
user1138406 Avatar asked Mar 10 '18 21:03

user1138406


1 Answers

HTTP from service goes to envoy proxy which converts it into https

Correct, but only if you enable this feature in Istio. To enable it, see the installation step 5 in https://istio.io/docs/setup/kubernetes/quick-start.html#installation-steps:

Install Istio and enable mutual TLS authentication between sidecars:

kubectl apply -f install/kubernetes/istio-auth.yaml

You may also want to read about testing this feature: https://istio.io/docs/tasks/security/mutual-tls.html .

like image 124
Vadim Eisenberg Avatar answered Sep 23 '22 13:09

Vadim Eisenberg