docs icon indicating copy to clipboard operation
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

Open Rick-Anderson opened this issue 4 years ago • 0 comments

@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.

Rick-Anderson avatar Jan 22 '21 19:01 Rick-Anderson