Editar

Partilhar via


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