runPCrun Notes for Configuring Server and Outlook for RPC over HTTPS
First read these pages for full details.
You need: (assuming a single server setup)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\RpcProxy Key:ValidPorts
For the following where :-
Quick Tip:Use this tool to do this http://www.petri.co.il/software/rpcnofrontend.zip
server:100-5000; server:6001-6002; server:6004; server.domain.local:6001-6002; server.domain.local:6004; mail.external.com:6001-6002; mail.external.com:6004;
Configure the RPC virtual directory in Internet Information Services After you configure the Exchange computer to use RPC over HTTP, you must configure the RPC virtual directory in Internet Information Services. To do this, follow these steps: 1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. 2. Expand servername (local computer), expand Web Sites, expand Default Web Site, right-click Rpc, and then click Properties. 3. Click the Directory Security tab, and then click Edit under Authentication and access control. 4. Click to clear the Enable anonymous access check box. 5. Click to select the Basic authentication (password is sent in clear text) check box. You receive the following message: The authentication option you have selected results in passwords being transmitted over the network without data encryption. Someone attempting to compromise your system security could use a protocol analyzer to examine user passwords during the authentication process. For more detail on user authentication, consult the online help. This warning does not apply to HTTPS(orSSL) connections. Are you sure you want to continue? Note In this error message, the word "HTTPS(orSSL)" is a misspelling for the words "HTTPS (or SSL)." 6. Click Yes, and then click OK. 7. Click Apply, and then click OK. The RPC virtual directory is configured to use basic authentication. We recommend that you use SSL together with basic authentication. To enable SSL on the RPC virtual directory, you must obtain and publish a certificate. This procedure assumes that you have obtained and published certificate. To configure the RPC virtual directory to require SSL for all client-side connections, follow these steps: 1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. 2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click Properties. 3. Click the Directory Security tab, and then click Edit under Secure communications. 4. Click to select the Require secure channel (SSL) check box and the Require 128-bit encryption check box. Note We recommend that you click to select the Require 128-bit encryption check box. However, RPC over HTTP functions correctly even if you do not require 128-bit encryption. 5. Click OK, click Apply, and then click OK.
It is recommended to set the client up on the network;
https://<external domain name>
Tick 'connect using SSL only' Tick 'Mutually authenticate...' The principal name for proxy server is msstd:"external domain name" (no quotes) Select Basic Proxy Authentication You can start Outlook using the /rpcdiag switch to checkhow it's communicating with the server.
If you need to configure Outlook when you are not on the domain, there are a couple more steps.
When you create the profile and after you have selected 'Exchange Server', type in the internal server name and the username but DO NOT select 'Check Name'
Select 'More Settings..' and wait until the 'unavailable' error message appears. Click OK and then Cancel on the next message.
Then complete the set up as before. You will be prompted to enter logon credentials. Use the form 'domain\username' and the password. The servername and username should now be underlined - simply click 'Next' and complete the wizard.
Gotcha - check that there are no IP addresses listed in deny access within RPCproxy.dll within IIS on the default website.
Gotcha - check the path of IIS RPC extentions - it must be c:\windows\system32\rpcproxy\rpcproxy.dll not c:\windows\systems32\rpcproxy.dll
How to Verify That RPC Proxy Server Extension Is Loading Properly