Tests if an SSL certificate binding exists.
Test-SslCertificateBinding [[-IPAddress] <IPAddress>] [[-Port] <UInt16>] [<CommonParameters>]
SSL certificates are bound to IP addresses and ports. This function tests if one exists on a given IP address/port.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
IPAddress | IPAddress | The IP address to test for an SSL certificate. |
false | false | |
Port | UInt16 | The port to test for an SSL certificate. |
false | false | 0 |
Test-SslCertificateBinding -Port 443
Tests if there is a default SSL certificate bound to all a machine's IP addresses on port 443.
Test-SslCertificateBinding -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.
Test-SslCertificateBinding
Tests if there are any SSL certificates bound to any IP address/port on the machine.