Fix: Inconsistent certificate chain handling between endpoint and default configuration by jnjudge1 · Pull Request #60710 · dotnet/aspnetcore (original) (raw)

Fix: Inconsistent certificate chain handling between endpoint and default configuration

Changes Kestrel configuration to process default certificate loading configurations the same as per endpoint configurations. With this change, certificates specified in the default configuration section will have their chains presented on the server even if their intermediates are not present in the system certificate store.

Description

IHttpsConfigurationService.cs:

TlsConfigurationLoader.cs:

KestrelConfigurationLoader.cs:

KestrelServerOptions.cs:

Fixes #60709