RPC over HTTPS is one of the most useful features of Exchange 2003/Outlook 2003. It is also one of the most frustrating as there are numerous issues that come up causing the connection to fail.
In the past remote users where forced to use a VPN to connect Outlook to the corporate Exchange servers or be forced to use the limited features available in Outlook Web Access. With the release of Exchange 2003 and Outlook 2003 a new connectivity option was introduced: RPC over HTTPS. RPC over HTTPS tunnels remote procedure calls through an HTTPS connection
[2] allowing you to connect to the Exchange server when outside the corporate LAN without needing to establish a VPN connection. To understand how to troubleshoot issues, you need to be aware of what is going on when an RPC connection is made. Figure 1 shows a typical RPC over HTTPS scenario, and you can refer to it as we go over the steps required to make a connection.

Figure 1: RPC over HTTPS Scenario
In order to troubleshoot RPC over HTTPS issues there are a few steps to take that solve the most common issues:
In my experience one of the most common issues has to do with the client configuration. Often the issue is as simple as Outlook not using basic authentication or mis-configured server names and connection options. One common issue is that the remote user does not have the correct version of Outlook installed or they are running the wrong base OS. In order to establish an RPC over HTTPS connection the client computer must meet these minimum requirements:
Often, administrators have to let remote users configure the profile themselves and something as simple as a typo or a missed checkbox is often the cause. To verify the settings:
On this screen (see Figure 2) we want to ensure that the following settings are correct:

If you have chosen to use a wildcard SSL certificate, you should enter the URL as follows in the Principal name for proxy server dialog box:
msstd:*.yourdomain.tld
Two other common issues that occur on the client side appear when a user enters a UPN (username@yourdomain.tld) is that they constantly get prompted for credentials and Outlook 2003 performance issues/hang ups. Both of these issues are easily resolved by upgrading the client to Windows XP SP2.
Outlook 2003 allows you to test the RPC connection by launching Outlook from the command line with the following command:
Outlook.exe /rpcdiag
You will see a window appear with connection information (see Figure 3), which will display HTTPS as the connection type if you have connected via RPC over HTTPS.

Figure 3: Outlook.exe /rpcdiag
Finally, Outlook 2003 SP1 is known to disable the Exchange over the Internet area on the Connection tab of the Microsoft Exchange Server setup in the mail profile. This will prevent you from configuring or editing the RPC profile. If this is disabled on your client, open up the registry with regedit and drill down to:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\RPC
Create a REG_DWORD called EnableRPCtunnelingUI and set the value to 1.
If you are lucky enough to be using an ISA 2004 server as your firewall, configuring RPC over HTTPS becomes a whole lot easier. ISA 2004 has built in support for RPC over HTTPS connections, which allows you to easily create an access rule to allow this traffic. However there is some confusion when you publish your Exchange server in ISA 2004. A lot of times, administrators believe enabling RPC over HTTPS access is as simple as checking the box on the services selection page (see Figure 3).

Figure 4: ISA RPC Access Rule
In fact this is not the method used to publish RPC over HTTPS. Microsoft has an in-depth article on publishing RPC over HTTPS with ISA 2004 which is linked at the end of this article. It is possible to configure RPC over HTTPS on ISA 2000 and you can find out how to accomplish this task in the links provided at the end of this article.
So far we have looked at some common client side issues and validated our firewall configuration. Part two will look at issues that occur with SSL certificates as well as mis-configured RPC proxy server and Exchange server settings.
Configuring ISA Server 2000 to Support Outlook 2003 RPC over HTTP:
http://www.msexchange.org/articles/rpchttppart1.html [3]
http://www.isaserver.org/articles/rpchttppart2.html [4]
http://www.isaserver.org/tutorials/rpchttppart3.html [5]
Configuring Exchange 2003 and Outlook 2003:
http://www.msexchange.org/tutorials/outlookrpchttp.html [6]
http://www.msexchange.org/tutorials/Outlook_2003_Connect_Exchange_2003.html [7]
Windows Server 2003 Resource Kit Tools:
http://www.microsoft.com/downloads/ [8]
This article was reprinted with permission from MSExchange.org [1]
Links:
[1] http://www.msexchange.org/tutorials/Troubleshooting-RPC-over-HTTPS-Part1.html
[2] http://www.msexchange.org/
[3] http://www.msexchange.org/articles/rpchttppart1.html
[4] http://www.isaserver.org/articles/rpchttppart2.html
[5] http://www.isaserver.org/tutorials/rpchttppart3.html
[6] http://www.msexchange.org/tutorials/outlookrpchttp.html
[7] http://www.msexchange.org/tutorials/Outlook_2003_Connect_Exchange_2003.html
[8] http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en