< Back

Get-CSslCertificateBinding

Sun Jan 12, 2020 9:58 pm

NAME Get-CSslCertificateBinding



SYNOPSIS

Gets the SSL certificate bindings on this computer.





SYNTAX

Get-CSslCertificateBinding [[-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

-IPAddress <IPAddress>

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



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Port <UInt16>

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



Required? false

Position? 2

Default value 0

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

Carbon.Certificates.SslCertificateBinding.





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



>Get-CSslCertificateBinding



Gets all the SSL certificate bindings on the local computer.









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



>Get-CSslCertificateBinding -IPAddress 42.37.80.47 -Port 443



Gets the SSL certificate bound to 42.37.80.47, port 443.









-------------------------- EXAMPLE 3 --------------------------



>Get-CSslCertificateBinding -Port 443



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











RELATED LINKS