RPC over HTTPS not working

Posted on 2009-12-17
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 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 10

    Assisted Solution

    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.

    LVL 1

    Accepted Solution

    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 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

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Outlook for Mac Draft Folder 3 26
    Exchange Search Slow 17 39
    Exchange 2007 13 18
    Hard drive free space issue 12 29
    Set OWA language and time zone in Exchange for individuals, all users or per database.
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    In this video we show how to create a Contact 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 Recipients >> Contact ta…
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now