Entries in SSL (1)


Adding a host header with SSL

There seems to be a bug with IIS manager for IIS 7.5 that you can’t add a binding with SSL through the UI. Rather than do anything crazy like use a wild character (*.mycoolurl.com) try this


Turns out you can only add them by using appcmd.


  1. First you create the binding via appcmd and provide the host header, but don’t set the cert.
  2. In CMD run

    1: C:\windows\system32\inetsrv\appcmd set site /site.name:MyCoolSite


  3. Then run

    1: netsh http add sslcert ipport= certhash=7fa1543a25eff6013ff012837ba4039aae623588



I believe you can make up the appid but the certhash you can get from the Server Certificates screen off of the web server in the IIS manager.