Gets the SSL certificate bindings on this computer.
Get-SslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [<CommonParameters>]
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.
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 |
Carbon.Certificates.SslCertificateBinding.
Get-SslCertificateBinding
Gets all the SSL certificate bindings on the local computer.
Get-SslCertificateBinding -IPAddress 42.37.80.47 -Port 443
Gets the SSL certificate bound to 42.37.80.47, port 443.
Get-SslCertificateBinding -Port 443
Gets the default SSL certificate bound to ALL the computer's IP addresses on port 443.