RPC Over HTTP on SBS 2003

Wow. That’s a mouthful. For those who aren’t aware, it stands for Remote Procedure Call (RPC) over Hypertext Transfer Protocol (HTTP) on (Windows) Small Business Server 2003. Essentially, making an Exchange RPC connection via standard HTTP protocols, over a secure (SSL) connection.

I had been royally frustrated with this, as every document I seemed to find talked about installing this proxy server or that back-end server and this front-end server. In this install, I have a single server. It’s the proxy, the front end and the back end. Though the pages I found said it could be done, I couldn’t get it to happen.

Then I stumbled across this gem, surprisingly enough, at Microsoft. Naturally I didn’t find it through Microsoft, but I found it nonetheless. I think I actually stumbled onto a Usenet thread through Google, which had a link to another knowledge base article, which in turn linked to this one.

And that’s it. It’s done. Simple as that. The only particularly difficult step was getting the certificate installed (it’s self-issued). I had to load up the site in IE, then install the certificate, and Voilá. It worked the first time. Un-freaking-believable. I think I’ll retire. Not for the night. Permanently. This will never happen again.

Update: Thanks to Ian Tomkins for pointing out that Microsoft, in their infinite wisdom, have decided to update their knowledge base and remove a useful page. Luckily, the Wayback Machine has come to our rescue with this copy of the original. Thanks Ian!


Posted

in

Comments

17 responses to “RPC Over HTTP on SBS 2003”

  1. Ryan Avatar
    Ryan

    Thanks for the pointers. Here are a few notes from my experience…

    After struggling with the Certificate import for a while on the client side with my self-issued certificate, I decided to re-create the certificate on the server. I would tell IE to install the certificate, but I would keep getting the certificate trust error message. When I started to re-create the certificate, I noticed that I had previously used a capital letter in the URL. When I recreated the certificate (using the SBS Internet Connection Wizard) in all lowercase, it installed fine on the client. I don’t know if there was something else wrong with the previous certificate or if the URL not being in all lowercase mattered, but Outlook connects fine over HTTP now. Cool!

  2. Nishrags Avatar
    Nishrags

    I tried everything for RPC over HTTP. I still get the error message “Microsoft Exchange server is unavailable”.

    However if I use, VPN and then outlook 2003 it works great.

    Any suggestion?

  3. roc Avatar
    roc

    I have a new one! Looked at a SBS03 upgrade, no reg. key entry on the client side HKEY_CURRENT_USERSoftwareMicrosoftOffice11.0Outlook
    and the RPC key is missing?? It seems SBS4.5 was upgraded to SBS03 on a new server, all users/computers/email were moved over with the migration tools. I can connect on the network with https://servername/remote, but when I try and use the connectcomputer for my laptop I see an error, Domain controller not available?? It looks like Outlook03 was installed on the client side from the folder on SBS03 and not through connectcomputer so none of the laptops are able to use rpc over http? Any input would be great.

  4. Chad Everett Avatar

    You should read the knowledge base article above. Essentially, just go to the appropriate page in IE, and when prompted, install the certificate. You’ll need to do this on each PC accessing the connection.

  5. Nishrags Avatar
    Nishrags

    Hello:

    I am struggling with the same, to make RPC work over HTTP. Please help me how to deal with the certificates, I also have self-issued certificates.

    Thanks a lot,

    nish

  6. Susan Avatar

    Also check out the reg key in case that Outlook over http didn’t show up. Seriously if you don’t have 4125 open on your router, you are missing out on Remote Web Workplace

  7. Chad Everett Avatar

    I’ll keep in mind your comment about the port. Unlikely it will happen, but I’ll keep it in mind nonetheless. It may prove useful sometime. Thanks for noting it.

    Regardless, the problem is fixed. I hope perhaps everyone else will find the solution the “easy way”, but if not, I know that they’ll have this as a potential resource too.

    As to the article I referenced, it is most definitely SBSized. Perhaps you missed the… “Configure RPC over HTTP in Small Business Server 2003 Standard or Premium” section.

  8. Susan Avatar

    Open up port 4125 and the smallbiz page is just a web page. If you run the connect to internet wizard, it does the KB article steps… You have a SBS box and th KB article isn’t SBSized and thus the post.

    Did you run the connect to internet wizard?

  9. Chad Everett Avatar

    Unfortunately, that page isn’t accessible on my box. When I go to /remote, I do get a login screen, but no combination of any user and password (including administrator) on the system will work to log in. While I’m sure the documentation is there somewhere, and I can get to it through Explorer, and it was right under my nose, my nose, unfortunately, was encased in a Microsoft-supplied impenetrable box that wouldn’t allow access. Luckily I don’t have a head cold.

    As to this link, the general information is there, but again it requires logging into the page in question. And if, for whatever reason, you cannot do that, it doesn’t help. It also talks about exporting server certificates. The KB article I linked to in my entry gives you a much simpler option for that as well as detailed steps on configuring Outlook, in case – for whatever reason – the remote information isn’t available.

    Still, thanks for the information!

  10. Susan Avatar

    don’t suppose you want to know that the info was on your box to do this?