Get-WebSitesSslBinding
Gets information about website SSL bindings.
Syntax
Get-WebSitesSslBinding
[-ConnectionString <String>]
[<CommonParameters>]
Description
The Get-WebSitesSslBinding cmdlet returns information about the Secure Sockets Layer (SSL) bindings assigned to your websites. SSL provides a way for browsers to communicate with web servers over a secure, encrypted channel; this is done by using SSL certificates. An SSL binding associates an SSL certificate with entities such as a website or TCP/IP port.
Examples
Example 1: Get SSL bindings for a front-end server
PS C:\> Get-WebSitesSslBinding -FrontEndName "FESERVER01"
This command returns information about the SSL bindings for the front-end server FESERVER01.
Parameters
-ConnectionString
Specifies a connection string for a hosting database. Connection strings contain information about a data source and how to connect to it; this information includes such things as the server and database name, and the name and password of the user account making the connection. For example:
-ConnectionString "Server=tcp:contosodb.database.windows.net;Database=Personel;User ID=admin@contoso.com;Password=p@ssw0rd;Trusted_Connection=False;Encrypt=True;"
If you do not specify this parameter Get-WebSitesSslBinding automatically connects to the default instance of the hosting database.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |