Remove-SslCertificateBinding

Removes an SSL certificate binding.

Syntax

Remove-SslCertificateBinding [-IPPort] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Description

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.

Parameters

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.

EXAMPLE 1

Remove-SslCertificateBinding -IPPort 45.72.89.57:443

Removes the SSL certificate bound to IP 45.72.89.57 on port 443.

EXAMPLE 2

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.