HTTPS in ASP.NET Core in Docker Linux Containers Deep Dive
11/19/2019
at DevIntersection
in Las Vegas, NV
ASP.NET Core lights up HTTPS by default. Running from the command line or from Visual Studio installs and trusts self-signed certificates so we don’t get the browser error when debugging. But how do we get this trust experience when running inside Linux Docker containers? Let’s dive deep into certificate trust, how Linux stores certificates, and how ASP.NET Core uses certificates. With that knowledge in place, let’s build up Docker containers for both development (self-signed) work, and containers that have real, trusted certificates should you choose a Layer-4 load balancer in production.