Generate development certificates
dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\aspnetapp.pfx -p CB1B9FF1-96A4-40D2-9631-96C7CD2920CE
dotnet dev-certs https -ep %APPDATA%\ASP.NET\Https\aspnetapp.pfx -p CB1B9FF1-96A4-40D2-9631-96C7CD2920CE
# 5dfafe10d8ee3843ca79a9d3ef68070047699155
dotnet dev-certs https --trust
certmgr
${APPDATA}/ASP.NET/Https
${USERPROFILE}/.aspnet/https
%APPDATA%\ASP.NET\Https
vs %USERPROFILE%\.aspnet\https
http://apetec.com/support/generatesan-csr.htm
https://stackoverflow.com/questions/55485511/how-to-run-dotnet-dev-certs-https-trust
openssl req -new -out san_domain_com.csr -key mysite.key -config mysite.cnf
openssl req -text -noout -in san_domain_com.csr
openssl x509 -req -days 3650 -in san_domain_com.csr -signkey san_domain_com.key \
-out san_domain_com.crt-extensions v3_req -extfile mysite.cnf
openssl pkcs12 -export -in san_domain_com.crt -inkey san_domain_com.key -out san_domiain_com.p12
generate cert using
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt -config localhost.conf
convert cert to pfx using
openssl pkcs12 -export -out localhost.pfx -inkey localhost.key -in localhost.crt
(optionally) verify cert using
openssl verify -CAfile localhost.crt localhost.crt
which should yield localhost.crt: OK
openssl genrsa -out localhost.key 2048
openssl req -new -out localhost.csr -key localhost.key -config localhost.cnf
openssl req -text -noout -in localhost.csr
openssl x509 -req -days 3650 -in localhost.csr -signkey localhost.key \
-out localhost.crt-extensions req_ext -extfile localhost.cnf
openssl pkcs12 -export -in localhost.crt -inkey localhost.key -out localhost.p12
====================================================================
https
https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-7.0 Enforce HTTPS in ASP.NET Core
https://github.com/dotnet/dotnet-docker/blob/main/samples/run-aspnetcore-https-development.md
https://learn.microsoft.com/en-us/aspnet/core/security/docker-https?view=aspnetcore-7.0 Hosting ASP.NET Core images with Docker over HTTPS
https://learn.microsoft.com/en-us/visualstudio/containers/container-tools-react?view=vs-2022 Quickstart: Use Docker with a React Single-page App in Visual Studio
https://learn.microsoft.com/en-us/visualstudio/containers/container-build How to customize Docker containers in Visual Studio
https://learn.microsoft.com/en-us/visualstudio/containers/tutorial-multicontainer?view=vs-2022 Tutorial: Create a multi-container app with Docker Compose
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/building-net-docker-images?view=aspnetcore-7.0 Docker images for ASP.NET Core
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-7.0 Configure endpoints for the ASP.NET Core Kestrel web server
https://learn.microsoft.com/en-us/visualstudio/containers/launch-profiles?view=vs-2022 Launch a subset of Compose services ====================================================================
https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container Containerize a .NET app with dotnet publish
====================================================================
MSBuild reference for .NET SDK projects
====================================================================