1. Certificate is already imported in IIS
2. I am using a wild card cert here but I believe it will be pretty much the same for other types of certs as well.
3. Port 443 is configured to point to this web application also.
4.WebApplications are using host headers
Open up IIS 7.0
Right Click on the website and select “Edit Bindings” which opens up the windows below
Click on add and Add https binding, select the SSL certificate in my case it is a wild card cert
Hit on OK
Now Lets change the port 80 to any other port, lets say 8026
Create a Port80 to Port 443 Redirector Dummy Website :
Select the Sites node under IIS, right click and select properties
Enter the below valuues, I just make it point to the Root IIS folder, this is just a dummy website and does not have any files in it. Hit on OK
So this setup means that all request for my test1.
Sharepoint configuration :
Go to CA\ AAM\ hit on Edit Public URLs and enter the following which is
Default : https://test1.
Intranet : http://test1.
Save it to look like this.
Now try accessing http and it should redirect to https!
But this will break search and Excel services, lets go fix that up.
Go to CA\Application management \ Manage Service applications\
Click on the instance of “Search Service Appilcation” that is indexing your website.
Click on the “content Sources” on the left hand side
Click on the content source that has your webapplication, in my case it is “Local SahrePoint sites”.
In here change your website to use https instead of http and then start a new Crawl by check marking “Start Full Crawl of this content source”
Check the Crawl Log to make sure there are no errors.
Excel services : lets fix this up , I require an https trusted location to store files.
Go to CA\Application Management\ Manage service application and select the Excel Service Application instance to which your web application is associated with.
Click Trusted File Locations to open it up
Click on Add Trusted file Location and enter the following :
Address : https
Location type : Microsoft SharePoint Foundation
Trusted Children : check mark it.
Confirm that excel files are opening up and search is worknig as well