Set-AzApplicationGatewayClientAuthConfiguration

Ändert die Clientauthentifizierungskonfiguration eines SSL-Profilobjekts.

Syntax

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

Beschreibung

Das Cmdlet Set-AzApplicationGatewayClientAuthConfiguration ändert die Clientauthentifizierungskonfiguration eines SSL-Profilobjekts.

Beispiele

Beispiel 1

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

Der erste Befehl ruft das Anwendungsgateway01 in der Ressourcengruppe "ResourceGroup01" ab und speichert es in der $AppGw Variablen. Der zweite Befehl ruft das ssl-Profil "SslProfile01" für $AppGw ab und speichert die Einstellungen in der $profile Variablen. Mit dem letzten Befehl wird die Clientauthentifizierungskonfiguration des in $profile gespeicherten SSL-Profilobjekts geändert.

Parameter

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

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

-SslProfile

Das SSL-Profil

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

-VerifyClientCertIssuerDN

Überprüfen Sie den Clientzertifikatsperrstatus.

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

-VerifyClientRevocation

Überprüfen Sie den Namen des Clientzertifikatherausgebers.

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

Eingaben

PSApplicationGatewaySslProfile

Ausgaben

PSApplicationGatewaySslProfile