New-WebSitesSslBinding

New-WebSitesSslBinding

Creates an IP SSL binding.

Syntax

Parameter Set: Default
New-WebSitesSslBinding [-FrontEndName] <String> -IPAddress <String> [-ConnectionString <String> ] [-HostName <String> ] [-PipelineVariable <String> ] [-Port <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The New-WebSitesSslBinding cmdlet creates an Internet Protocol (IP) Secure Sockets Layer (SSL) binding.

Parameters

-ConnectionString<String>

Specifies a connecting string to a hosting database. If this parameter is not specified, the default instance of the hosting database is used.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-FrontEndName<String>

Specifies the name of the front-end server to which the binding applies.

 

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-HostName<String>

Specifies a host name.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-IPAddress<String>

Specifies an IP address.

 

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-PipelineVariable<String>

Specifies a variable to be used with the pipeline operator.

 

Aliases

pv

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Port<Int32>

Specifies a port number.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-Confirm

Prompts you for confirmation before executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

This command binds the certificate for the host name Site01.Contoso.com to the IP address FD4A:29CD:184F:3A2C:D07A:489A:1EC4:E2CD and port 8443 on the front end server named FESERVER01.

PS C:\> New-WebSitesSslBinding -FrontEndName "FESERVER01" -IPAddress FD4A:29CD:184F:3A2C:D07A:489A:1EC4:E2CD -Port 8443 -HostName "Site01.Contoso.com"
 

 

Related topics

Get-WebSitesSslBinding

Remove-WebSitesSslBinding