How to setup the dev certificate when using Docker in development · Issue #6199 · dotnet/AspNetCore.Docs (original) (raw)

related #3310
Javier is contact:
This needs to go in Enforce HTTPS in an ASP.NET Core
The first time you run dotnet after installing the SDK you get this message
Successfully installed the ASP.NET Core HTTPS Development Certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms please refer to the platform specific documentation.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.

Copied from #3310
We also need to cover how to setup the dev certificate when using Docker in development:

{ "Kestrel":{ "Certificates":{ "Default":{ "Path": "/root/.aspnet/https/>.pfx", "Password": "<>" } } } }