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

dotnet dev-certs #269

Closed
HelloooJoe opened this issue Feb 26, 2020 · 2 comments
Closed

dotnet dev-certs #269

HelloooJoe opened this issue Feb 26, 2020 · 2 comments

Comments

@HelloooJoe
Copy link

Do I need to install or approve any certs? I'm using Visual Studio Enterprise 2019. I followed your steps but I'm not able to load the SPA.

@vicentt
Copy link

vicentt commented Jul 9, 2020

The problem is that the configured app ports 5005 5007 was NOT in the range :44300-:44398.
There are multiple posible solutions . In my opinion the easiest way to workarround the issue withaout talk about certs and ISS Express is:

For Web Project:

C:\Program Files (x86)\IIS Express\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:5005/ -UseSelfSigned

For STS

C:\Program Files (x86)\IIS Express\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:5007/ -UseSelfSigned

Reference:
https://blog.codeinside.eu/2018/10/31/fix-ERR_CONNECTION_RESET-and-ERR_CERT_AUTHORITY_INVALID-with-iisexpress-and-ssl/

Good Luck!!

@asadsahi
Copy link
Collaborator

asadsahi commented Nov 7, 2021

@CodeWorldIndustries
dev certs are prompted on any initial load of any dotnet web apps and should be good enough, if try this command to add it.

dotnet dev-certs https --trust

@asadsahi asadsahi closed this as completed Nov 7, 2021
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

No branches or pull requests

3 participants