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 | thumbprint of the certificate used in the binding |
ipport | IP address and port for the give binding |
appid | GUID user to identify the owning application |
List bound SSLCert for a give IP:Port
The Netsh following command is used to show the bound certificate for a give IP:Port:
netsh http show sslcert ipport=0.0.0.0:8888 (Source)