maandag 22 maart 2021

ssl binding on port on windows

 On Windows, it is possible to bind a SSL certificate to a port.

netsh http show sslcert

netsh http add sslcert ipport=0.0.0.0:4000 certhash=casda... appid={123123..123123}

netsh http delete sslcert ipport=0.0.0.0:4000

The appid can be randomly choosen, because it is only a id to identify the entry.
The certhash is the thumbprint found in the certificate.