Remove-WebSitesSslBinding
Removes an SSL binding.
Syntax
Remove-WebSitesSslBinding
[-ConnectionString <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-WebSitesSslBinding cmdlet removes a Secure Sockets Layer (SSL) binding. 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: Remove an SSL binding
PS C:\> Remove-WebSitesSslBinding -FrontEndName "FESERVER01" -IPAddress "FD4A:29CD:184F:3A2C:D07A:489A:1EC4:E2CD" -Port 8443
This command removes an SSL binding from the front-end server named FESERVER01. The binding has the IP address FD4A:29CD:184F:3A2C:D07A:489A:1EC4:E2CD and is assigned to port 8443.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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, Remove-WebSitesSslBinding uses the default instance of the hosting database.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |