Running .Net app in docker on https in linux

Viewed 36

I'm trying to run a .net app inside docker container and everything was OK until I have issues seeing https pages. I found Hosting ASP.NET Core images with Docker Compose over HTTPS this link but something is wrong and i'm not quite sure what it is. The problem is this part: dotnet dev-certs https --trust on linux

dotnet dev-certs https --trust is only supported on macOS and Windows. You need to trust certificates on Linux in the way that is supported by your distribution. It is likely that you need to trust the certificate in your browser.

Does anybody know how to fix that?

Thank you

0 Answers
Related