Skip to content

Commit a8afd98

Browse files
committed
use cert chain name from appgw
1 parent 585799a commit a8afd98

File tree

2 files changed

+549
-549
lines changed

2 files changed

+549
-549
lines changed

src/Network/Network.Test/ScenarioTests/ApplicationGatewayTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3347,7 +3347,7 @@ function Test-ApplicationGatewayCRUDWithMutualAuthentication
33473347
Assert-AreEqual $sslProfiles.TrustedClientCertificates[0].Id $trustedClient01.Id
33483348

33493349
# verify client cert properties
3350-
$trustedClient01 = Get-AzApplicationGatewayTrustedClientCertificate -Name $trustedClientCert01Name -ApplicationGateway $getgw
3350+
$trustedClient01 = Get-AzApplicationGatewayTrustedClientCertificate -Name $getgw.TrustedClientCertificates[0].Name -ApplicationGateway $getgw
33513351
Assert-AreEqual $trustedClient01.validatedCertData.Count 1
33523352
Assert-AreEqual $trustedClient01.clientCertIssuerDN.Count 1
33533353
Assert-AreEqual $getgw.TrustedClientCertificates[0].validatedCertData $trustedClient01.validatedCertData

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ApplicationGatewayTests/TestApplicationGatewayCRUDWithMutualAuthentication.json

Lines changed: 548 additions & 548 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)