From 47db31734419c8518d4dd402414304fd7f8bf851 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:57:43 -1000 Subject: [PATCH] backout until Prelease 9 --- aspnetcore/includes/trustCertVSC.md | 6 ++++-- aspnetcore/security/docker-compose-https.md | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/aspnetcore/includes/trustCertVSC.md b/aspnetcore/includes/trustCertVSC.md index ea9356c1f66a..95585510a82e 100644 --- a/aspnetcore/includes/trustCertVSC.md +++ b/aspnetcore/includes/trustCertVSC.md @@ -4,8 +4,10 @@ dotnet dev-certs https --trust ``` - The preceding command requires .NET 9.0 or higher on Linux. For Linux on .NET 8 and earlier, see your Linux distribution's documentation for trusting a certificate. - +The preceding command doesn't work on Linux. See your Linux distribution's documentation for trusting a certificate. + The preceding command displays the following dialog, provided the certificate was not previously trusted: ![Security warning dialog](~/getting-started/_static/cert.png) diff --git a/aspnetcore/security/docker-compose-https.md b/aspnetcore/security/docker-compose-https.md index 88f50bb50016..ce54194b2695 100644 --- a/aspnetcore/security/docker-compose-https.md +++ b/aspnetcore/security/docker-compose-https.md @@ -99,7 +99,10 @@ dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p $CREDENTIAL_PL dotnet dev-certs https --trust ``` +`dotnet dev-certs https --trust` is only supported on macOS and Windows. You need to trust certificates on Linux in the way that is supported by your distribution. It is likely that you need to trust the certificate in your browser. + In the preceding commands, replace `$CREDENTIAL_PLACEHOLDER$` with a password.