Get-SslCertificateBinding

Gets the SSL certificate bindings on this computer.

Syntax

Get-SslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [<CommonParameters>]

Description

Windows binds SSL certificates to an IP addresses/port combination. This function gets all the SSL bindings on this computer, or a binding for a specific IP/port, or $null if one doesn't exist. The bindings are returned as Carbon.Certificates.SslCertificateBinding objects.

Parameters

Name Type Description Required? Pipeline Input Default Value
IPAddress IPAddress

The IP address whose certificate(s) to get. Should be in the form IP:port. Optional.

false false
Port UInt16

The port whose certificate(s) to get. Optional.

false false 0

Return Values

Carbon.Certificates.SslCertificateBinding.

EXAMPLE 1

Get-SslCertificateBinding

Gets all the SSL certificate bindings on the local computer.

EXAMPLE 2

Get-SslCertificateBinding -IPAddress 42.37.80.47 -Port 443

Gets the SSL certificate bound to 42.37.80.47, port 443.

EXAMPLE 3

Get-SslCertificateBinding -Port 443

Gets the default SSL certificate bound to ALL the computer's IP addresses on port 443.