Set-AzApplicationGatewayClientAuthConfiguration
Ändrar klientautentiseringskonfigurationen för ett SSL-profilobjekt.
Syntax
Set-AzApplicationGatewayClientAuthConfiguration
-SslProfile <PSApplicationGatewaySslProfile>
[-VerifyClientCertIssuerDN]
[-VerifyClientRevocation <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Set-AzApplicationGatewayClientAuthConfiguration ändrar klientautentiseringskonfigurationen för ett SSL-profilobjekt.
Exempel
Exempel 1
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$profile = Get-AzApplicationGatewaySslProfile -Name "SslProfile01" -ApplicationGateway $AppGw
Set-AzApplicationGatewayClientAuthConfiguration -SslProfile $profile -VerifyClientCertIssuerDN -VerifyClientRevocation OCSP
Det första kommandot hämtar programgatewayen med namnet ApplicationGateway01 i resursgruppen Med namnet ResourceGroup01 och lagrar den i variabeln $AppGw. Det andra kommandot hämtar ssl-profilen med namnet SslProfile01 för $AppGw och lagrar inställningarna i variabeln $profile. Det senaste kommandot ändrar klientautentiseringskonfigurationen för SSL-profilobjektet som lagras i $profile.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslProfile
SSL-profilen
Type: | PSApplicationGatewaySslProfile |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VerifyClientCertIssuerDN
Verifiera status för återkallning av klientcertifikat.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VerifyClientRevocation
Verifiera utfärdarnamnet för klientcertifikatet.
Type: | String |
Accepted values: | None, OCSP |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
PSApplicationGatewaySslProfile
Utdata
PSApplicationGatewaySslProfile
Relaterade länkar
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för