Friday, April 11, 2008

SharePoint MOSS 2007 - Enabling both HTTP and HTTPS for your sharepoint site

Just a quick note that if you create a new web application in sharepoint using the default non-ssl security, you can still enable SSL and also continue to use the old unsecured site as well.

The problem you run into is when you try to create a page or a site. I was getting sharepoint generic errors doing doing it over HTTPS but not via HTTP. I ended up adding an Alternate Access Mapping for the HTTPS url, which instantly fixed the problem.

Alternate Access Mappings are in the Central Administrator under Operations->Global Configuration->Alternate Access Mappings. Add a new Internal URL, select your web application from the dropdown at the top of the form and specify the HTTPS url of your site in the alternate url box. Click save and test out your site.

No comments: