Removes an SSL certificate binding.
Remove-SslCertificateBinding [-IPPort] <String> [-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 |
---|---|---|---|---|---|
IPPort | String | The IP address and port to bind the SSL certificate to. Should be in the form IP:port.
Use 0.0.0.0 for all IP addresses. For example formats, run
netsh http delete sslcert /? |
true | false | |
WhatIf | SwitchParameter | false | false | ||
Confirm | SwitchParameter | false | false | ||
CommonParameters | This cmdlet supports common parameters. For more information type Get-Help about_CommonParameters . |
Remove-SslCertificateBinding -IPPort 45.72.89.57:443
Removes the SSL certificate bound to IP 45.72.89.57 on port 443.
Remove-SslCertificateBinding -IPPort 0.0.0.0:443
Removes the default SSL certificate from port 443. The default certificate is bound to all IP addresses.