HTTPS in ASP.NET Core 2 in Docker Linux Containers Deep Dive
summary
Shows exactly how to get HTTPS inside Linux Docker for ASP.NET Core: Kestrel uses the development PFX placed under the .NET corefx path, dotnet dev-certs --trust doesn't work on Linux, and the container must either get the host PFX converted (OpenSSL pfx → PEM/key → pfx no-password) or use mkcert to create a root CA and per-service certs. Dockerfile copies certs and runs distro trust steps (e.g. update-ca-certificates on Alpine) so inter-container TLS succeeds.
AI-written summary · about
chapters (8)
- 0:00Start
- 7:14create an https certificate
- 8:07validate the authenticity of a website
- 21:00create a self-signed certificate
- 26:32configure web defaults
- 29:27install the net sdk on linux
- 36:11turn off certificate validation
- 49:56grab a windows binary from chocolatey
related talks
52mDeveloping with HTTPS in Containers
01h 01mSecurity in ASP.NET Core 2.0
01h 04mSecurity in ASP.NET Core 2.1
58mSecurity in ASP.NET Core 2.0
15mSecuring your app's communications with Kubernetes, Azure Key Vault, and TLS certificates
40mSecurity in ASP.NET Core 2.1
43mDocker Security: Start your Container Journey Safely
01h 03mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
