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