Bagikan melalui


Set-AzApplicationGatewayClientAuthConfiguration

Memodifikasi konfigurasi autentikasi klien dari objek profil ssl.

Sintaks

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

Deskripsi

Cmdlet Set-AzApplicationGatewayClientAuthConfiguration memodifikasi konfigurasi autentikasi klien objek profil ssl.

Contoh

Contoh 1

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

Perintah pertama mendapatkan gateway aplikasi bernama ApplicationGateway01 dalam grup sumber daya bernama ResourceGroup01 dan menyimpannya dalam variabel $AppGw. Perintah kedua mendapatkan profil ssl bernama SslProfile01 untuk $AppGw dan menyimpan pengaturan dalam variabel $profile. Perintah terakhir memodifikasi konfigurasi autentikasi klien dari objek profil ssl yang disimpan di $profile.

Parameter

-DefaultProfile

Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.

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

-SslProfile

Profil ssl

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

-VerifyClientCertIssuerDN

Verifikasi status pencabutan sertifikat klien.

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

-VerifyClientRevocation

Verifikasi nama penerbit sertifikat klien.

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

Input

PSApplicationGatewaySslProfile

Output

PSApplicationGatewaySslProfile