I want istio envoy proxy to translate http traffic to https

8/4/2019

I'm using k8s with istio. And, I have external api with https endpoint (mutual tls)

And I don't want every api request from k8s pod to implement mutual tls call, so it would be great if istio envoy proxy can process mutual tls. Then pod can call api with http, and request would be converted to https mtls request by envoy.

+---------------------------------+
| (pod) ---http--> (envoy proxy) -|-https(mtls)--> external api
+---------------------------------+

I managed to find a solution of mutual tls with envoy. How can I use custom client certificate for external service with istio?

Now I should find how to setup envoy proxy to convert http to https. I guess that I should use ServiceEntry, DestinationRule, VirtualService, but I stuck here.

Help me.

-- chaeyk
istio
kubernetes

1 Answer

8/4/2019

Here is a task on istio.io how to do it.

-- Vadim Eisenberg
Source: StackOverflow