Skip to content

Commit 567dee9

Browse files
committed
Actually read the chain path section
1 parent f098e95 commit 567dee9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Servers/Kestrel/Core/src/Internal/ConfigurationReader.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ public override int GetHashCode() => HashCode.Combine(
345345
}
346346

347347
// "CertificateName": {
348-
// "Path": "testCert.pfx",
349-
// "KeyPath": "",
350-
// "ChainPath": "",
348+
// "Path": "testCert.pem/pfx",
349+
// "KeyPath": "key.pem",
350+
// "ChainPath": "chain.pem",
351351
// "Password": "testPassword"
352352
// }
353353
internal class CertificateConfig
@@ -359,6 +359,7 @@ public CertificateConfig(IConfigurationSection configSection)
359359
// Bind explictly to preserve linkability
360360
Path = configSection[nameof(Path)];
361361
KeyPath = configSection[nameof(KeyPath)];
362+
ChainPath = configSection[nameof(ChainPath)];
362363
Password = configSection[nameof(Password)];
363364
Subject = configSection[nameof(Subject)];
364365
Store = configSection[nameof(Store)];

0 commit comments

Comments
 (0)