mTLS for communication between container apps

RajivBansal-2486 331 Reputation points
2025-01-07T06:21:21.88+00:00

Hi,

  1. My understanding is that by default communication from a) ingress proxy to container apps b) container apps to container apps, don't use TLS, so requests have to be HTTP not HTTPs. Please confirm.
  2. Azure container apps provide peer to peer encryption for communication between container apps (container A to container B directly using application name). Is this same as mTLS - are container apps provided one certificate each and authenticate with each other using mTLS. I want to understand that if peer-to-peer encryption is enabled, should authentication be implemented for service to service communication or is it internally done.

https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=workload-profiles-env%2Cazure-cli

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
511 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 23,691 Reputation points Microsoft Employee
    2025-01-17T05:07:37.2033333+00:00

    @RajivBansal-2486 Thanks for posting your question in Microsoft Q&A.

    You can refer to this section about peer-to-peer communication with encryption using private certificate within the container app environment.

    • All the traffic from ingress proxy to container app within container environment isTLS encrypted with a private certificate and decrypted by the receiver.
    • Applications within a Container Apps environment are automatically authenticated. However, the Container Apps runtime doesn't support authorization for access control between applications using the built-in peer-to-peer encryption.
    • When your apps are communicating with a client outside of the environment, two-way authentication with mTLS is supported. To learn more, see configure client certificates.

    Hope this helps, let me know if you still have any further questions on this.

    0 comments No comments

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.