title: How to assign a SSL Certificate to IIS7 Site from Command Prompt
body: <p>Can you advise me whether it is possible or not to assign a SSL Certificate to a website in IIS7 using the APPCMD application?</p>
  
  <p>I am familiar with the command to set the HTTPS Binding</p>
  
  <pre><code>appcmd set site /site.name:"A Site" /+bindings.[protocol='https',bindingInformation='*:443:www.mysite.com']
  </code></pre>
  
  <p>and how to obtain current mappings </p>
  
  <pre><code>%windir%\system32\inetsrv\Appcmd
  </code></pre>
  
  <p>but can not seem to find any way to map a site to a certificate (say the certificates hash for example)</p>