Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTPS] Correct instructions to use the HTTPS development certificate on wsl #22021

Closed
javiercn opened this issue Apr 9, 2021 · 0 comments · Fixed by #22064
Closed

[HTTPS] Correct instructions to use the HTTPS development certificate on wsl #22021

javiercn opened this issue Apr 9, 2021 · 0 comments · Fixed by #22064
Assignees
Labels
doc-enhancement Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@javiercn
Copy link
Member

javiercn commented Apr 9, 2021

In this section

Replace the existing instructions with the following:

  • Export the developer certificate to a file on Windows
    dotnet dev-certs https --ep C:\<<path-to-folder>>\aspnetcore.pfx -p <<password>>
  • Import the exported certificate on the WSL instance
    dotnet dev-certs https --clean --import /mnt/c/<<path-to-folder>>/aspnetcore.pfx -p <<password>>

This is a one time operation per certificate and per wsl distro compared to having to export the certificate over and over (if you update/regenerate the certificate on windows you might need to run it again)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants