Gets the SSL certificate binding for an IP/port combination.
Get-SslCertificateBinding [-IPPort] <String> [<CommonParameters>]
Windows binds SSL certificates to an IP addresses/port combination. This function gets the binding for a specific IP/port, or $null if one doesn't exist.
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 |
Get-SslCertificateBinding -IPPort 42.37.80.47:443
Gets the SSL certificate bound to 42.37.80.47, port 443.
Get-SslCertificateBinding -IPPort 0.0.0.0:443
Gets the default SSL certificate bound to ALL the computer's IP addresses on port 443. The object returns will have the following properties: