Removes an SSL certificate binding.
Remove-SslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [-WhatIf] [-Confirm] [<CommonParameters>]
Uses the netsh command line application to remove an SSL certificate binding for an IP/port combination. If the binding doesn't exist, nothing is changed.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
IPAddress | IPAddress | The IP address whose binding to remove. Default is all IP addresses. |
false | false | 0.0.0.0 |
Port | UInt16 | The port of the binding to remove. Default is port 443. |
false | false | 443 |
WhatIf | SwitchParameter | false | false | ||
Confirm | SwitchParameter | false | false | ||
CommonParameters | This cmdlet supports common parameters. For more information type Get-Help about_CommonParameters . |
Remove-SslCertificateBinding -IPAddress '45.72.89.57' -Port 443
Removes the SSL certificate bound to IP 45.72.89.57 on port 443.
Remove-SslCertificateBinding
Removes the default SSL certificate from port 443. The default certificate is bound to all IP addresses.