RPC over HTTPS not working

Posted on 2009-12-17
Medium Priority
Last Modified: 2012-05-08

Im configuring RPC over HTTPS but it is not getting through. Basically I have done the following:

1. This is a single Exchange Server scenario
2. Got a certificate from a third party
3. Installed it on Exchange
4. Got OWA enabled with https and thats working fine
5. RPC components is installed on my Exchange server
6. Configuration on Exchange is as per the book
Registry Settings for RPC/HTTP:
Global Catalog (GC) Sever:
1. Check the following registry key on the GC and make sure that it is in place:
- HKLM\System\CurrentControlSet\Services\NTDS\Parameters
  -- Type: REG_MULTI_SZ
  -- Name: NSPI interface protocol sequences
  -- Value: ncacn_http:6004
2. GC has been rebooted once this key was put.

Exchange Mailbox Server:
Verify the following registry keys if all the ports got added by Exchange automatically:
- HKLM\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
  -- Type: REG_DWORD
  -- Name: Rpc/HTTP Port
  -- Value: 0x1771 (Decimal: 6001)

- HKLM\System\CurrentControlSet\Services\MSExchangeSA\Parameters
  -- Type: REG_DWORD
  -- Name: Rpc/HTTP NSPI Port
  -- Value: 0x1774 (Decimal: 6004)

- HKLM\System\CurrentControlSet\Services\MSExchangeSA\Parameters
  -- Type: REG_DWORD
  -- Name: HTTP Port
  -- Value: 0x1772 (Decimal: 6002)

Configure ValidPorts registry key:

- HKLM\Software\Microsoft\RPC\RPCProxy
  -- Type: REG_MULTI_SZ
  -- Name: ValidPorts
  -- Value:
MailboxServer_Netbios:6001-6002;MailboxServer_FQDN:6001-6002; MailboxServer_Netbios:6004;MailboxServer_FQDN:6004;
Host file entry is done on Exchange Server
I have a allow rule on ISA server that permits traffic from the public IP

After all this I did a test at https://www.testexchangeconnectivity.com and it fails while connecting to exchange information store. Test results are attached.

This thing has picked my brains now. Can anyone help please
Question by:vinsenapati
LVL 11

Assisted Solution

by:Ahmed Shahba
Ahmed Shahba earned 1000 total points
ID: 26078131
to work with RPC over https , I supposed you publish it first to internet and also , test that by configuring MS outlook client on one test PC , and don't forget to import Exchange certificate from IIS to personal local folder certificate in client machine (this only if you use private certificate)

Also , use basic authentication on server and on client configuration.


Accepted Solution

vinsenapati earned 0 total points
ID: 26079923
Thanks for your comments. All you said above has been done before i raised this question. Anyway i  have found the solution to the problem. This is what i did:
1. Checked all configuration again and found a typo in the value mentioned in HKLM\Software\Microsoft
2. Corrected the typo in Netbios name and FQDN name
3. Did a test at https://www.testexchangeconnectivity.com and this time passed the test
4. Configured Outlook 2007 for RPC over https and it worked

Lesson Learnt: Sometimes typo can become a headache. So we have to be very careful at each step.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question