Note You must confirm that RPC over HTTP traffic is functioning correctly on the Exchange server before you configure RPC over HTTP traffic to pass through the ISA Server-based computer. For more information about how to deploy Exchange Server 2003 RPC over HTTP, click the following article numbers to view the articles in the Microsoft Knowledge Base:
840255
The "Exchange Server 2003 RPC over HTTP deployment scenarios" guide is available
833401 How to configure RPC over HTTP in Exchange Server 2003
827330 How to troubleshoot client RPC over HTTP connection issues in Office Outlook 2003
For more information about Exchange Server 2003 RPC
over HTTP, visit the following Microsoft Web sites:
- Exchange Server 2003 RPC over HTTP Deployment Scenarios
- Remote Procedure Calls Using RPC over HTTP
- Configuring Outlook 2003 for RPC Over HTTP
Export a Web server certificate from the IIS-based computer that hosts the RPC proxy site
- On the Web server computer, start Microsoft Internet Information Services (IIS) Manager. To do this, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Expand the computer node, expand Web Sites, right-click the Web site that you want to export the certificate from, and then click Properties.
- Click the Directory Security tab, and then click View Certificate.
- In the properties of the certificate, make sure that the certificate says "You have a private key that corresponds to this certificate."
- Click the Details tab, click Issuer, and then click Copy to File.
- Click Next, click Yes, export the private key, and then click Next.
- In the Export File Format dialog box, click Personal Information Exchange � PKCS #12 (.PFX).
- Click to select the Include all certificate in the certification path if possible check box.
- Make sure that the Enable strong protection (requires IE 5.0, NT 4.0 SP4 or above) check box and the Delete the private key if the export is successful check box are cleared.
- On the Password page, type a password, and then confirm the password.
- On the File to Export page, type the location where you want to save the exported certificate, and then click Next. For example, type c:\webcert.pfx, and then click Next.
- On the Completing the Certificate Export Wizard page, click Finish.
- When the Certificate Export Wizard dialog box informs you that the export was successful, click OK
- Click OK to close the Default Web Site Properties dialog box.
On the ISA Server or Forefront Threat Management Gateway computer, import the Web server certificate from the IIS-based computer that hosts the RPC proxy site, and then install the certificate
- On the ISA Server computer, click Start, click Run, type mmc in the Open box, and then click OK.
- On the File menu, click Add/Remove Snap-in, click Add, and then click Certificates.
- Click Add, click Computer account, click Next, click Finish, click Close, and then click OK.
- Expand Certificates (Local Computer), right-click Personal, point to All Tasks, and then click Import.
- Click Next, click the certificate file that you want to import, and then click Next.
- In the Password box, type the password to decrypt the private key, click to select the Mark this key as exportable check box, and then click Next.
- Leave the Place all certificates in the following store option selected, make sure that Personal is selected in the Certificate store box, click Next, and then click Finish.
- When you receive the following message, click OK:
- Expand Personal, and then click Certificates.
- Make sure that the certificate with the name of the Web server computer appears in the right pane. You might have to update the display before this certificate appears.
- Right-click the Web server certificate, and then click Properties.
- If the Enable all purposes for this certificate option is selected, click Enable only the following purposes, click Apply, and then click OK.
Create a new Web publishing rule on the ISA Server computer
Note If you already have a Microsoft Outlook Web Access (OWA) Web publishing rule and the OWA server is also the RPC proxy server, you can add /RPC/* to the path instead of creating a new rule.ISA Server 2006
- Start the ISA Server/Threat Management Gateway Management tool.
- Expand name of ISA Server 2006 or Threat Management Gateway computer.
- Right-click Firewall Policy, point to New, and then click Exchange Web Client Access Publishing Rule.
- In the Exchange Publishing rule name box of the New Exchange Publishing Rule Wizard, type a descriptive name for the new publishing rule, and then click Next.
- In the Exchange version list, click
Exchange Server 2003, click to select the Outlook
RPC/HTTP(s) check box, and then click to clear the following check
boxes:
- Outlook Web Access
- Outlook Mobile Access
- Exchange ActiveSync
- Leave the default Publish a single Web site or load balancer option selected, and then click Next.
- Click Use SSL to connect to the published Web server or server farm, and then click Next.
- In the Internal site name box, type the
DNS name that internal users use to access the Web site. For example, type
alias.example.com.
Note The internal name must match the name that appears on the server certificate that is installed on the internal Web server. - Click to select the Use a computer name or IP address to connect to the published server check box, type the name of the computer or the IP address of the computer that hosts the RPC Proxy in the Computer name or IP address box, and then click Next.
- In the Accept requests for list, click This domain name (type below), type the DNS name that external users must use to access the Web server. For example, type mail.example.com. In this domain name, replace mail with the publicly-accessible alias that you use for the Web site.
- Click Next.
- On the Select Web Listener page, click New.
- On the Welcome to the New Web Listener Wizard page, type a descriptive name in the Web listener name box, and then click Next.
- Leave the default Require SSL secured connections with clients option selected, and then click Next.
- On the Web Listener IP Addresses page, click to select the External check box, and then click Next.
- Click Select Certificate, click the server
certificate that you previously imported, and then click
Select.
Note Make sure that the name on the certificate matches the name that is used by Office Outlook 2003 clients to connect. If the certificate does not match, the Office Outlook 2003 connection does not work, the Office Outlook 2003 user does not receive a warning, and the user cannot continue. - Click Next.
- In the Select how clients will provide credentials
to ISA Server/Threat Management Gateway list, click HTTP Form Authentication,
and then click Next.
Note For more information about the authentication methods that are available, click the authentication settings link. - If you want to enable the Single Sign On functionality,
click to select the Enable SSO for Web sites published with this Web
listener check box, and then type the Single Sign On domain in the
SSO domain name box. For example. type
.example.com..
Note In this example, note the period (dot) that appears before "example.com." - Click Next. Review the settings on the Completing the New Web Listener Wizard page, and then click Finish.
- If you configured a different authentication method in step
18, examine the value of the Require all users to authenticate
check box for this Web listener. To do this, follow these steps:
- On the Select Web Listener page, click Edit.
- Click the Authentication tab, and then click Advanced.
- If the Require all users to authenticate check box is selected on the Web listener, you must reconfigure the Web listener to use basic authentication.
- Click OK two times.
- On the Select Web Listener page, click Next.
- In the Select the method used by ISA Server/Threat Management Gateway to authenticate to the published Web server list, click Basic authentication, and then click Next.
- On the User Sets page, leave the All Authenticated
Users user set in the This rule applies to requests from the
following user sets box, click Next, and then click
Finish.
For
more information about what to do if you are not using the default settings in
the HTTP filter configuration, click the following article number to view the
article in the Microsoft Knowledge Base: 823175 Fine-tuning and known issues when you use the Urlscan utility in an Exchange 2003 environmentFor more information about HTTP filtering, visit the following Microsoft Web site:
- Click Apply to apply the changes to the firewall policy, and then click OK.
ISA Server 2004
- Start the ISA Server Management tool.
- Expand name of your ISA Server 2004-based computer.
- Right-click Firewall Policy, point to New, and then click Web Server Publishing Rule.
- Type a descriptive name for the new server publishing rule, and then click Next.
- If the Allow option is not selected, click Allow, and then click Next.
- Under Computer name or IP address, type the name of the computer or the IP address of the computer that hosts the RPC Proxy, type the path of the file or folder you want to publish in the Path box, and then click Next.
- Under Accept requests for, you can configure the rule to accept all requests, or only to accept requests for a specific domain name.
- Type the domain name in the Public name box, and then click Next. For example, type host header name that you assigned to the Web site.domain name.com, and then click Next.
- On the Select Web Listener page, click New.
- On the Welcome to New Web Listener Wizard page, type a descriptive name in the Web listener name box, and then click Next.
- On the IP Addresses page, click to select the External check box, and then click Next.
- On the Port Specification page, click to select the Enable SSL check box, and then click Select.
- Click the server certificate that you previously created,
and then click OK.
Note Make sure that the name on the certificate matches the name that is used by Office Outlook 2003 clients to connect. If the certificate does not match, the Office Outlook 2003 connection does not work, the Office Outlook 2003 user does not receive a warning, and the user cannot continue. - Click Next, and then click Finish.
- On the Select Web listener name page, click Edit.
- Click the Preferences tab, and then click Authentication.
- If the Require all users to authenticate check box is selected on the Web listener, you must reconfigure the Web listener to use basic authentication.
- Click OK two times.
- On the Select Web Listener page, click Next.
- On the User Sets page, click All Users,
click Next, and then click Finish.
For
more information about what to do if you are not using the default settings in
the HTTP filter configuration, click the following article number to view the
article in the Microsoft Knowledge Base: 823175 Fine-tuning and known issues when you use the Urlscan utility in an Exchange 2003 environmentFor more information about HTTP filtering, visit the following Microsoft Web site:
Troubleshooting
- Make sure that RPC over HTTP traffic is functioning
correctly internally. You must allow access from ISA Server or from Threat Management Gateway to the Web server
that hosts the RPC proxy before you can test traffic from ISA Server or from Threat Management Gateway. If ISA
Server or Threat Management Gateway is configured as an Edge Firewall and the RPC proxy is located on the
internal network, you must have either of the following rules:
- A rule that allows SSL from the Localhost object to the Internal network.
- A rule that allows all IP traffic from the Localhost object to the Internal network.
When you are prompted for your credentials, type your user name in the Universal Naming Convention (UNC) format, type your password, and then click OK. For example, type your user name in the domain\user name format , and then click OK.
The following error message is the expected behavior and indicates that both the server and the client are correctly configured:The page cannot be displayed HTTP Error 403.2 - Forbidden: Read access is denied. Internet Information Services (IIS) - If you have Windows Server 2003 Service Pack 1 (SP1)
installed, you are prompted to enter your credentials three times instead of
one time. After you enter your credentials for the third time and then click
OK, you receive the following error message:This error message is the expected behavior. The error message indicates that the RPC virtual directory on the server is correctly configured.You are not authorized to view this page
You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the Web server.
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
Internet Information Services (IIS)
Alternatively, you can use the Web browser to locate the Rpcproxy.dll file that is hosted in the RPC virtual directory. To do this, follow these steps:- On the client computer, start Microsoft Internet
Explorer, type the URL of the Rpcproxy.dll file that is hosted in the RPC
virtual directory in the Address list, and then click
Go.
For example, type https://mail.contoso.com/rpc/rpcproxy.dll, and then click Go. - When you are prompted for credentials, type a user name in the UNC format (domain\user_name), type a password, and then click OK.
- On the client computer, start Microsoft Internet
Explorer, type the URL of the Rpcproxy.dll file that is hosted in the RPC
virtual directory in the Address list, and then click
Go.
- If you use Web publishing and the domain name is the same on the internal network and the external network, it is a good idea to confirm that the ISA Server or Threat Management Gateway computer can successfully resolve all the names that are used in the publishing rule to the RPC proxy server. If all the names are not resolved successfully, you can change the hosts file on the ISA Server or Threat Management Gateway computer.
- If a remote user is prompted for logon credentials multiple times, the remote user may be typing credentials in the wrong format. Remote users must use the domain name\user name format.
- You can verify the RPC over HTTP connection to the computer
that is running Exchange. To do this, follow these steps:
- Click Start, click Run, type outlook /rpcdiag in the Open box, and then click OK.
- Type your credentials in the User name
box and in the Password box, and then click
OK. If HTTPS appears in the
Conn column in the Exchange Server Connection
Status dialog box, a service is connected by using RPC over HTTP.
Note The Exchange Server Connection Status window may appear directly behind the Outlook program window.