File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Security/Authentication/test Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ public async Task VerifyValidClientCertWithAdditionalCertificatesAuthenticates()
326
326
new CertificateAuthenticationOptions
327
327
{
328
328
Events = successfulValidationEvents ,
329
- AdditionalChainCertificates = new X509Certificate2Collection ( ) { Certificates . SelfSignedPrimaryRoot } ,
329
+ AdditionalChainCertificates = new X509Certificate2Collection ( ) { Certificates . SelfSignedPrimaryRoot , Certificates . SignedSecondaryRoot } ,
330
330
RevocationMode = X509RevocationMode . NoCheck
331
331
} , Certificates . SignedClient ) ;
332
332
@@ -709,6 +709,7 @@ private static async Task<IHost> CreateHost(
709
709
options . RevocationFlag = configureOptions . RevocationFlag ;
710
710
options . RevocationMode = configureOptions . RevocationMode ;
711
711
options . ValidateValidityPeriod = configureOptions . ValidateValidityPeriod ;
712
+ options . AdditionalChainCertificates = configureOptions . AdditionalChainCertificates ;
712
713
} ) ;
713
714
}
714
715
else
You can’t perform that action at this time.
0 commit comments