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()
326326 new CertificateAuthenticationOptions
327327 {
328328 Events = successfulValidationEvents ,
329- AdditionalChainCertificates = new X509Certificate2Collection ( ) { Certificates . SelfSignedPrimaryRoot } ,
329+ AdditionalChainCertificates = new X509Certificate2Collection ( ) { Certificates . SelfSignedPrimaryRoot , Certificates . SignedSecondaryRoot } ,
330330 RevocationMode = X509RevocationMode . NoCheck
331331 } , Certificates . SignedClient ) ;
332332
@@ -709,6 +709,7 @@ private static async Task<IHost> CreateHost(
709709 options . RevocationFlag = configureOptions . RevocationFlag ;
710710 options . RevocationMode = configureOptions . RevocationMode ;
711711 options . ValidateValidityPeriod = configureOptions . ValidateValidityPeriod ;
712+ options . AdditionalChainCertificates = configureOptions . AdditionalChainCertificates ;
712713 } ) ;
713714 }
714715 else
You can’t perform that action at this time.
0 commit comments