< Back
New-AzureRmApplicationGatewaySslCertificate
Post
NAME New-AzureRmApplicationGatewaySslCertificate
SYNOPSIS
Creates an SSL certificate for an Azure application gateway.
SYNTAX
New-AzureRmApplicationGatewaySslCertificate -CertificateFile <String> [-DefaultProfile <IAzureContextContainer>] -Name <String> -Password
<SecureString> [<CommonParameters>]
DESCRIPTION
The New-AzureRmApplicationGatewaySslCertificate cmdlet creates an SSL certificate for an Azure application gateway.
PARAMETERS
-CertificateFile <String>
Specifies the path of the .pfx file of the SSL certificate that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the SSL certificate that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Password <SecureString>
Specifies the password of the SSL that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySslCertificate
NOTES
Example 1: Create an SSL certificate for an Azure application gateway.
PS C:\\> $password = ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force
PS C:\\> $cert = New-AzureRmApplicationGatewaySslCertificate -Name "Cert01" -CertificateFile "D:\\cert01.pfx" -Password $password
This command creates a SSL certificate named Cert01 for the default application gateway and stores the result in the variable named $Cert.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate
Add-AzureRmApplicationGatewaySslCertificate
Get-AzureRmApplicationGatewaySslCertificate
Remove-AzureRmApplicationGatewaySslCertificate
Set-AzureRmApplicationGatewaySslCertificate
SYNOPSIS
Creates an SSL certificate for an Azure application gateway.
SYNTAX
New-AzureRmApplicationGatewaySslCertificate -CertificateFile <String> [-DefaultProfile <IAzureContextContainer>] -Name <String> -Password
<SecureString> [<CommonParameters>]
DESCRIPTION
The New-AzureRmApplicationGatewaySslCertificate cmdlet creates an SSL certificate for an Azure application gateway.
PARAMETERS
-CertificateFile <String>
Specifies the path of the .pfx file of the SSL certificate that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the SSL certificate that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Password <SecureString>
Specifies the password of the SSL that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySslCertificate
NOTES
Example 1: Create an SSL certificate for an Azure application gateway.
PS C:\\> $password = ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force
PS C:\\> $cert = New-AzureRmApplicationGatewaySslCertificate -Name "Cert01" -CertificateFile "D:\\cert01.pfx" -Password $password
This command creates a SSL certificate named Cert01 for the default application gateway and stores the result in the variable named $Cert.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate
Add-AzureRmApplicationGatewaySslCertificate
Get-AzureRmApplicationGatewaySslCertificate
Remove-AzureRmApplicationGatewaySslCertificate
Set-AzureRmApplicationGatewaySslCertificate