Enable Host Headers On An SSL/HTTPS Site
The other day we came across an issue where a user inadvertently inserted a “https” in the URL of a SharePoint site. The resulting page that was displayed was the Central Administration site.
The only site that is secured with SSL on our SharePoint servers is the Central Admin site. The Central Admin site also has a host header. So, I thought that all traffic on port 443 would require the correct host header for Central Admin to respond.
I was wrong.
I was able to find a script on Microsoft TechNet that will enable host headers for SSL sites. Run the following from the commandline:
cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>"
Where <host header> is the host header for the Web site and <site identifier> is the site’s unique identifier.
You will find the adsutil.vbs file in several places but you should probably use the one located at C:\Inetpub\AdminScripts.
February 26, 2010 | Posted by stewart
Categories:
Tags:
hi friends ………….
This is my first visit on the blog / site for you, wow ….. your blog was incredible, I am happy to be in your blog. Xchange will you link with me, if you are willing, please let me know. I’ll input your link too. I hope our friendship can be forever and maybe next i’ll found something to make me rich about knowledge. I’ll see you in the new article. ok
visiting you and drop EC.
great post.