Test-SslCertificateBinding

Tests if an SSL certificate binding exists.

Syntax

Test-SslCertificateBinding [-IPPort] <String> [<CommonParameters>]

Description

SSL certificates are bound to IP addresses and ports. This function tests if one exists on a given IP/port.

Parameters

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

EXAMPLE 1

Test-SslCertificateBinding 0.0.0.0:443

Tests if there is a default SSL certificate bound to all a machine's IP addresses on port 443.

EXAMPLE 2

Test-SslCertificateBinding 10.0.1.1:443

Tests if there is an SSL certificate bound to IP address 10.0.1.1 on port 443.