< Back
Test-CSslCertificateBinding
Post
NAME Test-CSslCertificateBinding
SYNOPSIS
Tests if an SSL certificate binding exists.
SYNTAX
Test-CSslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [<CommonParameters>]
DESCRIPTION
SSL certificates are bound to IP addresses and ports. This function tests if one exists on a given IP
address/port.
PARAMETERS
-IPAddress <IPAddress>
The IP address to test for an SSL certificate.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Port <UInt16>
The port to test for an SSL certificate.
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-CSslCertificateBinding -Port 443
Tests if there is a default SSL certificate bound to all a machine's IP addresses on port 443.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-CSslCertificateBinding -IPAddress 10.0.1.1 -Port 443
Tests if there is an SSL certificate bound to IP address 10.0.1.1 on port 443.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Test-CSslCertificateBinding
Tests if there are any SSL certificates bound to any IP address/port on the machine.
RELATED LINKS
SYNOPSIS
Tests if an SSL certificate binding exists.
SYNTAX
Test-CSslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [<CommonParameters>]
DESCRIPTION
SSL certificates are bound to IP addresses and ports. This function tests if one exists on a given IP
address/port.
PARAMETERS
-IPAddress <IPAddress>
The IP address to test for an SSL certificate.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Port <UInt16>
The port to test for an SSL certificate.
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-CSslCertificateBinding -Port 443
Tests if there is a default SSL certificate bound to all a machine's IP addresses on port 443.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-CSslCertificateBinding -IPAddress 10.0.1.1 -Port 443
Tests if there is an SSL certificate bound to IP address 10.0.1.1 on port 443.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Test-CSslCertificateBinding
Tests if there are any SSL certificates bound to any IP address/port on the machine.
RELATED LINKS