你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzApplicationGatewayClientAuthConfiguration
Creates a new client authentication configuration for SSL profile.
Syntax
New-AzApplicationGatewayClientAuthConfiguration
[-VerifyClientCertIssuerDN]
[-VerifyClientRevocation <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzApplicationGatewayClientAuthConfiguration cmdlet creates a new client authentication configuration for SSL profile.
Examples
Example 1
$clientAuthConfig = New-AzApplicationGatewayClientAuthConfiguration -VerifyClientCertIssuerDN -VerifyClientRevocation OCSP
The command create a new client auth configuration and stores it in $clientAuthConfig variable to be used in a SSL profile.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VerifyClientCertIssuerDN
Verify client certificate issuer name.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VerifyClientRevocation
Verify client certificate revocation status.
Type: | String |
Accepted values: | None, OCSP |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
PSApplicationGatewayClientAuthConfiguration