Netsh commands

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= certhash=cert_thumbprint appid={random_guid}

# Removing Netsh binding:
Netsh http delete sslcert ipport=
certhashthumbprint of the certificate used in the binding
ipportIP address and port for the give binding
appidGUID 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= (Source)

Leave a Reply

Your email address will not be published. Required fields are marked *