My ASP.NET Core 6 Web API uses IdentityServer4 as idp. It works just fine when the idp runs in development mode.

When I set the idp to run in Production mode by setting the ASPNETCORE_ENVIRONMENT in web.config, the idp always fails to start.

The system event shows the error:

A fatal error occurred while creating a TLS client credential. The internal error state is 10011

The strange thing is that, if it is TLS related, why does development mode work, but Production doesn't, everything else being exactly the same? Any ideas?

UPDATE Here is the web.config file. As you can see, the Production mode is set, and this is when the IDS false. It works fine when it is set to Development. enter image description here

0

There are 0 best solutions below