Skip to content

Commit

Permalink
dotnet: amend dev-cert script in README (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliekens authored Jun 20, 2024
1 parent 28a9f4f commit 62e39c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62e39c8

Please sign in to comment.