Skip to content

Conversation

@sliekens
Copy link
Contributor

Hello again,

This is a minor correction for the dev-cert instructions that I added earlier this week in #1095.

In the original instructions, sudo is used to generate a new dev-cert. As a result, the vscode user might be unable to use the dev-cert due to insufficient permissions. The dev-cert is owned by root:root and the file permissions are -rw------ (600).

The solution is simply to run the dotnet dev-certs https command first as the vscode user, resulting in the file being created with correct ownership. The use of sudo is still needed to export the dev-cert to the ca-certificates/ directory.

@sliekens sliekens requested a review from a team as a code owner June 20, 2024 20:42
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@samruddhikhandale samruddhikhandale merged commit 62e39c8 into devcontainers:main Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants