Add-AzApplicationGatewayTrustedClientCertificate
將受信任的用戶端 CA 憑證鏈結新增至應用程式閘道。
語法
Add-AzApplicationGatewayTrustedClientCertificate
-ApplicationGateway <PSApplicationGateway>
-Name <String>
-CertificateFile <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Add-AzApplicationGatewayTrustedClientCertificate Cmdlet 會將受信任的用戶端 CA 憑證鏈結新增至 Azure 應用程式閘道。
範例
範例 1
將受信任的用戶端 CA 憑證鏈結新增至應用程式閘道。 ( 自動產生 )
Add-AzApplicationGatewayTrustedClientCertificate -ApplicationGateway <PSApplicationGateway> -CertificateFile 'C:\cert.cer' -Name 'cert01'
參數
-ApplicationGateway
applicationGateway
類型: | PSApplicationGateway |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-CertificateFile
受信任用戶端 CA 憑證鏈結檔案的路徑
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
受信任用戶端 CA 憑證鏈結的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |