Set-AzApplicationGatewayClientAuthConfiguration

ssl プロファイル オブジェクトのクライアント認証構成を変更します。

構文

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

説明

Set-AzApplicationGatewayClientAuthConfiguration コマンドレットは、ssl プロファイル オブジェクトのクライアント認証構成を変更します。

例 1

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

最初のコマンドは、ResourceGroup01 という名前のリソース グループ内の ApplicationGateway01 という名前のアプリケーション ゲートウェイを取得し、$AppGw変数に格納します。 2 番目のコマンドは、$AppGwの SslProfile01 という名前の ssl プロファイルを取得し、$profile変数に設定を格納します。 最後のコマンドは、$profileに格納されている ssl プロファイル オブジェクトのクライアント認証構成を変更します。

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

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

-SslProfile

ssl プロファイル

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

-VerifyClientCertIssuerDN

クライアント証明書の失効状態を確認します。

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

-VerifyClientRevocation

クライアント証明書の発行者名を確認します。

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

入力

PSApplicationGatewaySslProfile

出力

PSApplicationGatewaySslProfile