Bind Certificate With Windows Vista, Windows Server 2008 r2 or Windows 7
- Last UpdatedJan 13, 2022
- 1 minute read
If the user is running the Windows Server 2003 Operating System then refer to Bind Certificate With Windows Server 2003 for further information.
Bind the certificate to an HTTP port by using the following command on the command prompt:
netsh http add sslcert ipport=0.0.0.0:8000 certhash=7cc85c21bbdcfc68e630d4a497d4948298ebdcb7 appid={00112233-4455-6677-8899-AABBCCDDEEFF}
Note:
The above is one command and should be entered on 1 line.
At the certhash parameter, paste the value copied to the clipboard in the previous steps making sure that spaces are removed from the hexadecimal string.
Note:
If the user enters an invalid thumbprint, the command will still succeed, but the
client will not be able to communicate with the service as the thumbprint does not
refer to a valid certificate.
-
The certhash parameter specifies the thumbprint of the certificate.
-
The ipport parameter specifies the IP address and port.
Note:
The IP address 0.0.0.0 specifies the local computer.
-
The appid parameter is a random GUID (Globally unique identifier) that can be used to identify the owning application.