We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474f947 commit ab3799fCopy full SHA for ab3799f
src/Servers/Kestrel/Core/src/Internal/ConfigurationReader.cs
@@ -353,7 +353,19 @@ internal class CertificateConfig
353
public CertificateConfig(IConfigurationSection configSection)
354
{
355
ConfigSection = configSection;
356
- ConfigSection.Bind(this);
+
357
+ // Bind explictly to preserve linkability
358
+ Path = configSection[nameof(Path)];
359
+ KeyPath = configSection[nameof(KeyPath)];
360
+ Password = configSection[nameof(Password)];
361
+ Subject = configSection[nameof(Subject)];
362
+ Store = configSection[nameof(Store)];
363
+ Location = configSection[nameof(Location)];
364
365
+ if (bool.TryParse(configSection[nameof(AllowInvalid)], out var value))
366
+ {
367
+ AllowInvalid = value;
368
+ }
369
}
370
371
// For testing
0 commit comments