Using Multiple Certificates for Exchange/Outlook

Posted on 2013-01-21
Last Modified: 2013-01-22
Exchange 2007 running on Server 2003 R2 X64 with IIS 6
- purchased SAN/UCC Certificate for 3 years

The Problem:
LAN users with Outlook 2010 are complaining about a certificate error every time they open Outlook:
"The name of the security certificate is invalid or does not match the name of the site"

LAN domain is exchange.domain.local
WAN domain is
The exchange server is on the LAN.  Router uses port redirections to get to OWA on the exchange server - it does not have a public IP.  There is no edge transport server.

Solution tried (but didn't work):

The issue started when Outlook was upgraded from 2003 to 2010.  I purchased a new certificate from GoDaddy but I purchased a 3 year term certificate and discovered that you can no longer include .local addresses (no non-FQDN permitted) on any certificate that goes beyond November 1st 2015.  This certificate will expire in January 2016.

The certificate is a SAN/UCC and includes,, and the principle subject of
Because of the above mentioned limitation, it does not include exchange.domain.local or autodiscover.domain.local, and exchange.domain.local as well as the NETBIOS name of the server - EXCHANGE.

In Exchange the certificate was assigned to all services - IIS, POP, IMAP, UM, SMTP

I have discovered that the assignment of the certificate to all the LAN systems appears to be via IIS.  I have a self-signed certificate installed with the subject of exchange.domain.local and if it's present the Outlook client doesn't have a problem - it's happy with the certificate.  Unfortunately this messes up OWA - it works but there's always a problem with the certificate because the domain doesn't match.  This rather defeats the purpose purchasing a certificate.

I configured DNS with the primary domain of and set an A records to point to the Exchange server.

I reset the Internal and External URL's as described in the Microsoft article (listed above) for the CAS server to point to

I also deployed the certificates (both of them) to all workstations using a GPO.

Nothing seems to help - Outlook 2010 always looks at the local domain name of the server and cannot accept the public name on the certificate.

Any help would be appreciated.
Question by:WiReDWolf
  • 6

Accepted Solution

IKtech earned 250 total points
ID: 38802809

I think the above link looks like the kb article that you tried already.  You do need to restart iis i beleive if you haven't.  The link above is how i fixed a similar issue

Author Comment

ID: 38803071

The KB from Microsoft does say to "Recycle" the AppPool for an Exchange service and to run "iisreset /noforce" which I have done.  However, I'll try the applet commands from the article you posted and see what happens.  I'll let you know...
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 250 total points
ID: 38803074
You need to change all of the names in Exchange to the external host name, and setup a split DNS so that the external name resolves internally.


Author Comment

ID: 38803518
Looks like I was on the right track all along.  The KB article didn't mention the Microsoft-Server-ActiveSync update though so thanks to IKTech for passing along the blog post.  Using that post I confirmed that was the only thing I hadn't already done including split DNS.

I also reviewed the site Sembee2 posted.  Excellent tutorial and I really liked the script included at the bottom.  Typing in Exchange cmdlet commands are ridiculous on a wrapping DOS window.  I didn't find the Fig. 4 ECP reference but I think that's for Exchange 2010.  Either way I didn't need it.

The problem persists on existing client workstations.  I tested by setting up a new profile on an existing workstation.  Autodiscover picked up the settings and created the profile without incident.  After 5 minutes I still hadn't seen the certificate error.

I then went to a client workstation where the user was already set up.  Closed and re-opened Outlook and it connects fine but after about 30 seconds the error about the invalid certificate pops up.  I closed Outlook, nuked the profile, re-opened and generated a new profile created by Autodiscover for this user.  Outlook generated a new OST and downloaded all the mail to the workstation without once complaining about the certificate.

I tried again on another workstation and the same results.

So unless someone has an idea about how to force Outlook to update without having to nuke and rebuild every Outlook profile that looks like what's going to have to happen.
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

ID: 38803552
Sembee2: Sorry I missed the testing at the bottom of your page.  
To test the configuration, use Outlook 2007 or 2010 on a workstation.
Start Outlook 2007/2010 and wait for it to connect.

Then hold down CTRL and right click on the Outlook icon in the system tray next to your clock. Choose "Test Email AutoConfiguration…" Then select the option to test the configuration.
Should you have everything configured correctly, then all of the URLs should appear as your external certificate name and you do not get any certificate prompts.

I will test and see if this forces Outlook to update.

Author Comment

ID: 38803688
So far I've tested on two systems and both give the same error:

"autoconfiguration was unable to determine your settings"

Yet when I wipe a profile from a system and then create a new one I no longer get the certificate error.  

More than halfway there - but this would be nice to resolve completely.  Any suggestions?

Author Comment

ID: 38806623
Well I'm out of time for this so the only process left is to remove everyone's profile and re-add it to Outlook.  It resolves the issue which is what I needed most.

Points to both of you for the excellent suggestions and new material.  Thanks much.

Author Closing Comment

ID: 38806632
Split points - first for speed and providing excellent information second for still a quick response and a more complete tutorial including testing the configuration which is a tool I wasn't aware of before.

Featured Post

Are your end users making ugly email signatures?

Have you left it up to your end users to create their own email signatures? Are they forgetting to add the company logo or using garish font colors? Take control and ensure all users have the same email signature.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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 …
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…

910 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

21 Experts available now in Live!

Get 1:1 Help Now