Binding SSL Cerificate to a Machine

Prequisites

  • SSL Certificate (For Testing this can be self-signed)
  • Administrator Rights
  • Command Prompt
  • IIS 7 or above

Instructions

  1. Open the Certificate details and find its ThumbPrint in IIS
  2. Identify the port and IP to which the certificate to be binded
  3. Open the Command Prompt with Administrator Rights
  4. Type in the following
    netsh http add sslcert ipport=<IPtoBind>:<PortToBind> appid={12345678-db90-4b66-8b01-88f7af2e36bf} certhash=<CertificateThumbPrint>
  5. Done
  6. To remove that binding just type the following
    netsh http delete sslcert ipport=<IPtoBinded>:<PortToBinded>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.