Bind Certificate to IP:Port

Using Netsh command, you can bind a certificate to IP and Port to create SSL enabled web communications. Once netsh binding has been set up, https web traffic will be enabled for the given IP: Port.

# Setup Netsh binding:
netsh http add sslcert ipport=0.0.0.0:8888 certhash=cert_thumbprint appid={random_guid}

# Removing Netsh binding:
Netsh http delete sslcert ipport=0.0.0.0:8888

|certhash|The thumbprint of the certificate used in the binding|
|ipport|IP address and port for the given binding|
|appid|GUID user to identify the owning application|

key Description
ipport IP address and port for the given binding
appid GUID user to identify the owning application
certhash The thumbprint of the certificate used in the binding

List bound SSLCert for a give IP:Port

Use the Netsh command to show the bound certificate for a give IP port:

netsh http show sslcert ipport=0.0.0.0:8888
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-a-port-with-an-ssl-certificate