it:ad:appcmd:home

IT:AppCmd

Syntax:

appcmd.exe set config -section:system.applicationHost/sites /+"[name='Default Web Site'].bindings.[protocol='https',bindingInformation='*:443:']" /commit:apphost

Examples:

Add SSL Binding in IIS 
appcmd set site "Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:']

Remove SSL Binding in IIS 
appcmd set site "Default Web Site" /-bindings.[protocol='https',bindingInformation='*:443:']

IMPORTANT: Note that this adds SSL to the website, but you have to then use netsh to bind the cert.

  • /home/skysigal/public_html/data/pages/it/ad/appcmd/home.txt
  • Last modified: 2023/11/04 03:20
  • by 127.0.0.1