RPC over HTTPS Almost working...

I have set up several Exchange servers over the past year for RPC over HTTPS connections and they have all gone up without a hitch.  This one however, is only working part way.  This time it's kicking my butt.  I hope I've provided enough information for someone to help me track down the problem.

In the past I have been working with a single server that was the DC and Exchange all in one.  This time I still have a single Exchange server, but have a seperate DC.

I use Petri's setup guide to a T and have also referenced Amset now after finding this experts-exchange article:  http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_21603584.html

The Petri article:  http://www.petri.co.il/configure_rpc_over_https_on_a_single_server.htm

The Amset article:  http://www.amset.info/exchange/rpc-http-server.asp

What I saw at Amset lead me to believe that maybe I'm missing something.  Do I need to be setting up RPC proxy on the DC instead of Exchange this time??

As it stands, I have RPC proxy set up on the Exchange server.  I have a valid SSL cert in place and can connect to OWA without problems both inside and outside the LAN.  I can navigate to the server/rpc directory and be prompted for credentials.  If I log in, I get a 403 error which I've read is normal.  No certificate errors is the key.

If I try to connect with an outlook client from outside our network (through a NAT'd port 443 directly to our exchange server) outlook prompts for a login, but then just hangs.  RPCDiag shows connections attempted to my server's netbios name, but never shows one completed.  Internally on the LAN when I limit my server to port 443 connections and use a profile in outlook that is set to use an RPC Proxy, outlook simply hangs, although RPCDiag shows a successful connection to my DC while connections to the Exchange server attempt and drop every so often.

Everyone focuses on the registry port settings and the SSL cert as the primary glitches, and I think I've proven that my SSL cert is ok with the OWA connection and the /rpc connection working without a cert error.

As for registry settings, at first I used the tool from Petri to set them, but after reading the Amset article I've modified the rpcproxy key manually to this: (server names and such changed)


ex = exchange server's netbios name
dc = domain controller's netbios name
mail.ext.com = our external dns entry pointing to our exchange server

Things that work:
https://mail.ext.com (under construction page)
https://mail.ext.com/exchange (owa login - works completely)
https://mail.ext.com/rpc (prompt for login, then 403 after login)

I don't know enough about rpcping to test much, but I did one suggested ping and got this:

rpcping -t ncacn_http -s myserver -o RpcProxy=myserver -P "myuser,mydomain,*" -I "myuser,mydomain,*" -H 2 -u 10 -a connect -F 3 -v 3 -E -R none

RPCPing v2.12. Copyright (C) Microsoft Corporation, 2002
OS Version is: 5.1, Service Pack 3
Enter password for server:
Enter password for RPC/HTTP proxy:

RPCPinging proxy server exchange2k3 with Echo Request Packet
Sending ping to server
Error 12175 returned in the WinHttpSendRequest.
Ping failed.

Thank you in advance!
Who is Participating?
archaic0Connect With a Mentor Author Commented:
OK, this is working now.

I don't have a clear answer as to why.

I changed my port assignments acording to the Amset article but left a couple out that he suggested (port 593) because this port did not show up on anyone elses examples.  My connection did not work last night when I gave up but this morning it works.  The server has not been rebooted since that change, but maybe a replication kind of thing needed to happen since I have a seperate DC?

Here is my current registry setting for RPC Ports:


This is the only thing I have been editing in for the last day between a time when it did not work and now when it does work.

One last note, my RPCPing failed at least partly because I was connecting with the internal netbios name instead of the external address that is registered to the certificate.  I did that because internally I cannot use the external DNS name.  I made a local host entry to fix that, and when I used the DNS name to ping, the RPCPing was successful.

All Courses

From novice to tech pro — start learning today.