Dockerized ASP.NET microservices - HTTPS connection between them

Hi, I have contenerized my application using Docker. The problem is that I use Identity Serer 7 for OAuth 2 which requires HTTPS connection through the Ocelot gateway. I can not contact the Identity Server due to certificate problems. The certificate is generated via dotnet CLI. I understad that the name mismatch comes from fact that the certificate is for localhost but the gateway routes traffic to other container via the internal docker hostname
image.png
image.png
Was this page helpful?