< Back

Remove-CSslCertificateBinding

Sun Jan 12, 2020 10:56 pm

NAME Remove-CSslCertificateBinding



SYNOPSIS

Removes an SSL certificate binding.





SYNTAX

Remove-CSslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [-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

-IPAddress <IPAddress>

The IP address whose binding to remove. Default is all IP addresses.



Required? false

Position? 1

Default value 0.0.0.0

Accept pipeline input? false

Accept wildcard characters? false



-Port <UInt16>

The port of the binding to remove. Default is port 443.



Required? false

Position? 2

Default value 443

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



>Remove-CSslCertificateBinding -IPAddress '45.72.89.57' -Port 443



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









-------------------------- EXAMPLE 2 --------------------------



>Remove-CSslCertificateBinding



Removes the default SSL certificate from port 443. The default certificate is bound to all IP addresses.











RELATED LINKS