Tests if an SSL certificate binding exists.
Test-SslCertificateBinding [-IPPort] <String> [<CommonParameters>]
SSL certificates are bound to IP addresses and ports. This function tests if one exists on a given IP/port.
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 |
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.
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.