Last active
November 24, 2020 21:51
-
-
Save ainsofs/49d25af0c92dc181e703ae3ac4438431 to your computer and use it in GitHub Desktop.
Use this snippet to add https to an IIS7 site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appcmd set site /site.name:"<IISSiteName>" /+bindings.[protocol='https',bindingInformation='*:443:<hostHeaderValue>'] | |
# https://www.sslshopper.com/article-ssl-host-headers-in-iis-7.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment