Set-AzApplicationGatewayClientAuthConfiguration

Hiermee wijzigt u de clientauth-configuratie van een SSL-profielobject.

Syntax

Set-AzApplicationGatewayClientAuthConfiguration
   -SslProfile <PSApplicationGatewaySslProfile>
   [-VerifyClientCertIssuerDN]
   [-VerifyClientRevocation <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

De cmdlet Set-AzApplicationGatewayClientAuthConfiguration wijzigt de clientauth-configuratie van een ssl-profielobject.

Voorbeelden

Voorbeeld 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$profile  = Get-AzApplicationGatewaySslProfile -Name "SslProfile01" -ApplicationGateway $AppGw
Set-AzApplicationGatewayClientAuthConfiguration -SslProfile $profile -VerifyClientCertIssuerDN -VerifyClientRevocation OCSP

Met de eerste opdracht wordt de toepassingsgateway met de naam ApplicationGateway01 in de resourcegroep ResourceGroup01 opgeslagen en opgeslagen in de $AppGw variabele. Met de tweede opdracht wordt het SSL-profiel met de naam SslProfile01 voor $AppGw en worden de instellingen opgeslagen in de variabele $profile. Met de laatste opdracht wijzigt u de clientverificatieconfiguratie van het ssl-profielobject dat is opgeslagen in $profile.

Parameters

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SslProfile

Het SSL-profiel

Type:PSApplicationGatewaySslProfile
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VerifyClientCertIssuerDN

Controleer de intrekkingsstatus van het clientcertificaat.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VerifyClientRevocation

Controleer de naam van de uitgever van het clientcertificaat.

Type:String
Accepted values:None, OCSP
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Invoerwaarden

PSApplicationGatewaySslProfile

Uitvoerwaarden

PSApplicationGatewaySslProfile