Skip to content

Instantly share code, notes, and snippets.

@mrzcn
Created December 13, 2020 10:29
Show Gist options
  • Select an option

  • Save mrzcn/c25d17130953e430971a623cc849376d to your computer and use it in GitHub Desktop.

Select an option

Save mrzcn/c25d17130953e430971a623cc849376d to your computer and use it in GitHub Desktop.
Navigate to C:\Windows\System32\Inetsrv\ by typing “cd C:\Windows\System32\Inetsrv\” on the command line.
In the Inetsrv folder, run the following command for each of the other websites on the IP address that need to use the certificate (copy both lines): 
appcmd set site /site.name:"<IISSiteName>" /+bindings.[protocol='https',bindingInformation='*:443:<hostHeaderValue>']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment