New-AzApplicationGatewayTrustedClientCertificate
建立應用程式閘道的受信任用戶端 CA 憑證鏈結。
Syntax
New-AzApplicationGatewayTrustedClientCertificate
-Name <String>
-CertificateFile <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
New-AzApplicationGatewayTrustedClientCertificate Cmdlet 會為應用程式網關建立受信任的用戶端 CA 憑證鏈結。
範例
範例 1
$trustedClient = New-AzApplicationGatewayTrustedClientCertificate -Name "ClientCert" -CertificateFile "C:\clientCAChain.cer"
命令會建立新的受信任用戶端 CA 憑證鏈結物件,以用戶端 CA 憑證的路徑作為輸入。
參數
-CertificateFile
受信任用戶端 CA 憑證鏈結檔案的路徑
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
受信任用戶端 CA 憑證鏈結的名稱
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
PSApplicationGatewayTrustedClientCertificate
相關連結
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應