This posting is provided "AS IS" with no warranties, and confers no rights.
Follow these steps on an Exchange front-end server that communicates with a clustered Exchange back-end server.
(Prepare the CustomErrors folder)
- Create an Active Server Pages (ASP) Web page that contains the following code:
<% If Request.ServerVariables("HTTPS") = "off" Then Response.Redirect "https://" & Request.ServerVariables("HTTP_HOST") & "/Exchange" End If %>
- Name the Web page "Owahttps.asp".
- In Windows Explorer, create the Inetpub\Wwwroot\CustomErrors folder, and then save the Owahttps.asp Web page file to that folder.
(Prepare the CustomErrors application)
- Start the IIS console.
- In Windows Server 2008 (IIS 7.0)
Note Follow these steps if you are running Exchange Outlook Web Access on Windows Server 2008.
- Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Expand Computer Name, and then expand Web Sites.
- Expand the Web site that your Outlook Web Access users use to access their Exchange server. (By default, this Web site will be the default Web site. But for Small Business Server 2008, this Web site should be SBS Web Application.)
- Go to step 5.
- In Windows Server 2008 (IIS 7.0)
- Right click on CustomErrors folder, and click the Convert to Application.
- In the dialog, click Select… button.
- Here choose the application pool where Exchange application is running in, and then click OK twice.
- Click the folder again, and click Default Document icon in the middle.
- Click Add… button in the right panel. Type Owahttps.asp in the Name field and click OK. Move the Owahttps.asp file to the top of the list.
- Click the web site in the left panel again, and then click Authentication icon in the middle panel.
- Ensure that Anonymous Authentication is enabled. If not, click on this item in the list and use Enable button in the right panel to enable it.
- Click the web site again, and then click SSL Settings icon in the middle panel.
- Click to clear the Require secure channel (SSL) check box, and then click Apply button in the right panel.
(Change Exchange Application)
- Right-click the Exchange application in the left panel, and then click Error Pages icon in the middle.
- Click the Add… button in the right panel.
- Type 403.4 in the Status code field.
- In the Response Action list, click Execute a URL on this site.
- In the URL box, type /CustomErrors/Owahttps.asp, and then click OK.
- Click the application again and click SSL Settings icon.
- Click to select the Require SSL check box.
Note If you want to require 128-bit encryption, click to select the Require 128-bit encryption check box.
- Click Apply button in the right panel.
Note The Exchange application and the Public application are the only applications that you have to configure to require SSL. If you have other applications for which you want to require SSL, enable SSL on each application individually.
After you follow these steps, visit the following Web site from another client machine:
In this address, server_name is the name of the Microsoft Internet Information Service (IIS) server.
You should be automatically redirected to https://(server_name)/exchange and to the Logon.asp page.
Note that if you want to test this on the IIS 7 server, please do the following in IIS Manager,
- Click on Exchange application in the left panel, and click Error Pages icon in the middle.
- Click Edit Feature Settings… button in the right panel.
- In the Error Responses list, click "Custom error pages”. Then click OK.
Now you should be able to test on the IIS server.