SSL Certificate Error with Custom Domain in Azure Container Apps

Michael Burgstaller 0 Reputation points
2025-03-12T19:30:45.27+00:00

Hey,

I setup an Azure Container App with a custom domain and a managed SSL certificate. Now, when I try to access the domain, I get the following error using Firefox "An error occurred during a connection to <MY-DOMAIN>. PR_CONNECT_RESET_ERROR". What I expected was to see the webpage that's running in the container, or at least a certificate. At the moment it looks like there's no certificate associated with the domain. I also tried to access the site using a private window, to rule out there's a browser cache issue here.

I don't think there's anything missing in the container app. I added the managed certificate in the environment and bound it to the app. The binding says "Secured", which is the last step to check when you follow the tutorial for setting up a custom domain for a container app.

Given that the domain I'm using, I setup a CNAME record with the URL of the app. I assume this is correct, because otherwise issuing the SSL certificate would not work correctly.

Regarding the ingress, I enabled it, pointed it to the correct port inside my container and allowed traffic from outside the container app environment. I double checked that everything is either at its default value or set to the most open setting. Internally I'm using a virtual network to allow communication between the services that make up the app. The only thing that's open to the Internet should be this container app.

Is there something else I could be missing?

Thanks to anybody that can help me with this!

Michael

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

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.