docs
docs copied to clipboard
Add tip to solve: System.InvalidOperationException: 'Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date
@V4A001 created this in https://github.com/dotnet/AspNetCore.Docs/issues/21284
I cannot reach the exact product page where to post this to.
I received suddenly this error by using docker compose.
System.InvalidOperationException: 'Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
I tried all solutions except the one on this page particular for docker compose. Why? Because I never had to and it worked for a couple of months out of the box.
Recreating the developer certificates did not work. So finally I deleted the docker-compose setup in the VS solution. I recreated it by add --> Container Orchestration Support. The running it in either debug and release mode worked again.
I see a lot of people struggling and why this is happening if fully unclear. Maybe you can post it on the right page.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: bcf20f50-2d15-1744-386d-1d05ff9931fb
- Version Independent ID: a3c5626b-bbf1-dae0-5cea-0e1135957258
- Content: Visual Studio Tools for Docker on Windows
- Content Source: docs/architecture/containerized-lifecycle/design-develop-containerized-apps/visual-studio-tools-for-docker.md
- Product: dotnet-architecture
- Technology: containerized-lifecycle
- GitHub Login: @nishanil
- Microsoft Alias: nanil