-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
How to trust HTTPS cert from WSL Ubuntu on Windows? #7166
Comments
This helped out. I followed the instructions to export my Windows-generated cert:
Then in my WSL window I ran:
That effectively set the environment variables so that linux would use the Windows generated-and-trusted cert. Then my Windows browser was happy to access it. :) |
@guardrex where is the right place to surface this info? I'm thinking in another doc, but link to it here. |
@scottaddie isn't this related to #3310 ? |
@Rick-Anderson I think so. Is there anything we want to change in the get started page? If not, I'll address it at the linked issue. |
Make sure this page has a link showing how to set it up a cert for Ubuntu |
I'm using Windows Subsystem for Linux (Ubuntu) to host my ASP.NET Core web app. It has generated its own HTTPS self-signed cert. How do I configure my Windows cert store to trust that cert so that my Windows browser will navigate to it and trust it?
Note I've tried the command above, but it only trusts the Windows-generated cert. I need Windows to trust the Linux cert.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: