Add-​Azure​Application​Gateway​Ssl​Certificate

Adds an SSL certificate to an Application Gateway.

Syntax

Add-AzureApplicationGatewaySslCertificate
   [-Name] <String>
   [-CertificateName] <String>
   [-Password] <String>
   [-CertificateFile] <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Add-AzureApplicationGatewaySslCertificate cmdlet adds a Secure Sockets Layer (SSL) certificate to an Azure Application Gateway.

Examples

Example 1: Add an SSL certificate

PS C:\> Add-AzureApplicationGatewaySslCertificate -Name "ApplicationGateway08" -CertificateName "SslCertificate13" -Password "password" -CertificateFile "c:\Certs\sslCertificate.pfx"

This command adds an SSL certificate named SslCertificate13 to the Application Gateway named ApplicationGateway08. The command specifies the path of the certificate file and the password for the certificate.

Required Parameters

-CertificateFile

Specifies the path of an SSL certificate file. This cmdlet adds the certificate in the file that this parameter specifies.

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-CertificateName

Specifies the name of an SSL certificate. This cmdlet adds the certificate that this parameter specifies.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the Application Gateway to which this cmdlet adds an SSL certificate.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Password

Specifies the password of the SSL certificate that this cmdlet adds.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

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

Inputs

System.String

Outputs

Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse