Share via


Windows: Bind SSL certificate to a custom port number

The Case

In case someone wants to configure a custom Port with an SSL ιt can do so, by following the instructions below :

Bind SSL certificate  to a custom port number

Open CMD and execute the following command,

netsh http add sslcert ipport=0.0.0.0:7010 certhash=1540045000003ht5rq1i57eled7dc1c08je483 appid={00011122-2333-4445-5566-ABCDEFGHIJKL}

Parameters :

  Explanation
ipport IP address 0.0.0.0.0 and  port e.g 0.0.0.0 7010
certhash SSL Certificate Thumbprint (must be without spaces)
appid Application Identity

View the current port configuration

Open CMD and execute the following command,

netsh http show  sslcert