Hosting ASP.NET Core Images with Docker over HTTPS | .net core ssl docker
Article 01/18/2023 3minutestoread 14contributors Feedback Inthisarticle ByRickAnderson[1]ASP.NETCoreusesHTTPSbydefault[2].HTTPS[3]reliesoncertificates[4]fortrust,identity,andencryption.Thisdocumentexplainshowtorunpre-builtcontainerimageswithHTTPSusingthe.NETcommand-lineinterface(CLI)[5].ForinstructionsonhowtorunDockerindevelopmentwithVisualStudio,seeDevelopingASP.NETCoreApplicationswithDockeroverHTTPS[6].This...
Article 01/18/2023 3 minutes to read 14 contributorsFeedback
In this articleBy Rick Anderson[1]
ASP.NET Core uses HTTPS by default[2]. HTTPS[3] relies on certificates[4] for trust, identity, and encryption.
This document explains how to run pre-built container images with HTTPS using the .NET command-line interface (CLI)[5]. For instructions on how to run Docker in development with Visual Studio, see Developing ASP.NET Core Applications with Docker over HTTPS[6].
This sample requires Docker 17.06[7] or later of the Docker client[8].
PrerequisitesThe current .NET SDK[9].
CertificatesA certificate from a certifi...