Thursday, 16 December 2010

How to: Configure a Port with an SSL Certificate


  • You must have imported a certificate in your LocalMachine or CurrentUser certificate location and find out its thumbprint identifier
  • You must have an application with an ID as GUID e.g. a Windows Service
  • You must know to which Store your certificate is stored.

Add a certificate binding:
netsh http add sslcert ipport= certhash=bcb0d7372d065fdb4047d6fdde64b1c84f6e12c2 appid={00000000-0000-0000-0000-000000000000} clientcertnegotiation=enable certstorename=Personal

Delete a certificate binding:
netsh http delete sslcert ipport=

Display current port binding
netsh http show sslcert ipport=

Show all current port configurations:

netsh http show sslcert

No comments: