From 62e39c8657db92aecb6abddda682ec503f45511c Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 20 Jun 2024 22:44:10 +0200 Subject: [PATCH] dotnet: amend dev-cert script in README (#1103) --- src/dotnet/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dotnet/README.md b/src/dotnet/README.md index 39024d604..cab4df88b 100644 --- a/src/dotnet/README.md +++ b/src/dotnet/README.md @@ -64,8 +64,10 @@ The contents of `.devcontainer/setup-dotnet-dev-cert.sh`: # Change ownership of the .dotnet directory to the vscode user (to avoid permission errors) sudo chown -R vscode:vscode /home/vscode/.dotnet -# Export the ASP.NET Core HTTPS development certificate to a PEM file # If there is no development certificate, this command will generate a new one +dotnet dev-certs https + +# Export the ASP.NET Core HTTPS development certificate to a PEM file sudo -E dotnet dev-certs https --export-path /usr/local/share/ca-certificates/dotnet-dev-cert.crt --format pem # Add the PEM file to the trust store