Testing Exchange 2007 along-side Exchange 2003 Environment - Outlook Anywhere Certificate Issue

Posted on 2010-11-08
Medium Priority
Last Modified: 2012-05-10
I was brought into an environment that has 2 exchange servers.  One is a 2003 Exchange server (Primary) that most people are connected to.  The second is a 2007 Exchange server (both servers run Windows 2003 SP2).  A few years ago, a migration was started and never completed.

I believe I have most of the migration completed (except the actual user/mailbox migration) done.  The issue I have right now is that in testing, I would like to bring up Exchange 2007 along side Exchange 2003 so I can bring a few users over to test it out fully.

Everything seems to work internally, however Outlook Anywhere (RPC over HTTP) does not work properly.  Internally, I get an error thrown when I start up Outlook, but it eventually connects and works fine.  Externally, it doesn't work at all.

Ok, here is the environment:


External DNS and MX are as follows:

mail.companyname.com points to ExServer2003 (working perfectly) (resolves to primary IP address)
mail2.companyname.com points to ExServer2007 (problematic) (resolves to secondary test IP address)

I have opened appropriate ports in firewall, however it appears it is a Certificate issue that I am having.

Our primary cert for mail.companyname.com is from a trusted 3rd party vendor and works fine.  However, in order to properly test Exchange 2007, I created a trusted cert from an internal certificate authority.

Certificate states that it is "Ok" and is installed in IIS on ExServer2007.

When browsing to OWA at https://mail2.companyname.com, the cert states that it is trusted and I can log in just fine.

Outlook, on the other hand is not working 100% correctly:

When I open Outlook, I am prompted for Domain\Username and Password.

"There is a problem with the proxy server's security certificate.  The name on the security certificate is invalid or does not match the name of the target ExServer2007.
Outlook is unable to connect to the proxy server. (Error Code 10)"

I select OK button, and Exchange status is "Connected to Microsoft Exchange"

Here are my Outlook Settings:
Outlook Account Settings, Change Account, Microsoft Exchange Connection Tab:
Connect to Microsoft Exchange using HTTP
Exchange Proxy Settings:
SSL Only, Only Connect to Proxy Servers that have this principarl name...
Checkmarks on Fast/Slow networks using HTTP first
Basic Authentication

When I go to "testexchangeconnectivity.com" I get:

Testing RPC/HTTP connectivity.
  The RPC/HTTP test failed.
   Test Steps
   Attempting to resolve the host name mail2.companyname.net in DNS.
  The host name resolved successfully.
   Additional Details
  IP addresses returned: CORRECT IP ADDRESS
 Testing TCP port 443 on host mail2.companyname.net to ensure it's listening and open.
  The port was opened successfully.
 Testing the SSL certificate to make sure it's valid.
  The SSL certificate failed one or more certificate validation checks.
   Test Steps
   Validating the certificate name.
  The certificate name was validated successfully.
   Additional Details
  Host name mail2.companyname.net was found in the Certificate Subject Common name.
 Certificate trust is being validated.
  Certificate trust validation failed.
   Additional Details
  The certificate chain couldn't be built. You may be missing required intermediate certificates.

Any help would be appreciated.  Thank you!
Question by:gdctech
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 11

Expert Comment

ID: 34092028
So exchange 2003 is working fine ?

If you have a firewall shouldnt bouth your MX records point to the same external IP address of the firewall (single point of contact?)

If you have your internal CA issued a cert for your exchange 2007 server you need to add the internal CA certificate to all of the client computers.

Expert Comment

ID: 34098706
Hi, Have not read through your thread, but we are in a 2003 and 2010 environment and have gone through the CERT fun.  
You are not alone.....
A few things off the bat:
1) Do a network trace
2) outlook.exe /rpcdiag   (2007 only)
3) make sure the cert chain is available to the client (ie., If using digicert you should pass the intermediate as well as the CA to the client (cert chain).
Again - we are going through this so I may have some ideas for you.  This seems to be external issue (using the ms site).
How about internal?
What's between you and the internet (firewall, ISA, UAG, Router w/IPS)

Accepted Solution

gdctech earned 0 total points
ID: 34338505
I apologize for my lateness in responding.  We were able to correct this issue with using a mutli-host named cert.

Author Closing Comment

ID: 34384027
I resolved this myself.

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

762 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