How can I use istio mtls stric mode with aks application routing add-on

Teoman Sevinc 0 Reputation points
2025-02-19T10:42:25.0133333+00:00

Hi,

I'm using "the application routing add-on" in my aks cluster and I installed istio add-on. I added sidecar injection to istio member pods. I want to use mtls mode in strict.

Could you please advice me the best way of using the mtls in strict mode and open the ingress for the applications ?

should I use istio ingress gateway ? or can I use aks managed ingress (the application routing add-on) ?

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 7,935 Reputation points Microsoft External Staff Moderator
    2025-02-19T13:34:41.63+00:00

    Hi @Teoman Sevinc,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    The Istio Ingress Gateway is the optimal solution for controlling ingress traffic while enforcing mTLS in strict mode. This configuration guarantees secure communication between your services and efficiently manages TLS certificates.

    You can lock down workloads in all namespaces to only accept mutual TLS traffic by putting the policy in the system namespace of your Istio installation- https://istio.io/latest/docs/tasks/security/authentication/mtls-migration/

    kubectl apply -n istio-system -f - <<EOF
    apiVersion: security.istio.io/v1
    kind: PeerAuthentication
    metadata:
      name: default
    spec:
      mtls:
        mode: STRICT
    EOF
    

    To set up mTLS in strict mode with Istio while enabling open ingress for applications in AKS, the Istio Ingress Gateway is the recommended approach. Configure the gateway to enforce mTLS, ensuring that both the gateway and backend services validate and present certificates.If you have any further queries, do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.